Skip to content

Commit d0ddce8

Browse files
committed
Add installation of CSLoader dependencies for NetCore 2.x
1 parent 6efeb91 commit d0ddce8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/loaders/cs_loader/netcore/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ set_target_properties(${target}
6464
#
6565

6666
if(DOTNET_VERSION VERSION_EQUAL "2.0" OR DOTNET_VERSION VERSION_GREATER "2.0")
67-
set(DOTNET_INSTALL_DEPENDENCIES)
67+
set(DOTNET_INSTALL_DEPENDENCIES
68+
${CMAKE_BINARY_DIR}/Microsoft.CodeAnalysis.dll
69+
${CMAKE_BINARY_DIR}/Microsoft.CodeAnalysis.CSharp.dll)
6870
else()
6971
set(DOTNET_INSTALL_DEPENDENCIES ${CMAKE_BINARY_DIR}/System.Runtime.Loader.dll)
7072
endif()

0 commit comments

Comments
 (0)