Skip to content

Commit 1a130e9

Browse files
committed
Add more dependencies for CSLoader in NetCore 2.x
1 parent d0ddce8 commit 1a130e9

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
@@ -66,7 +66,9 @@ set_target_properties(${target}
6666
if(DOTNET_VERSION VERSION_EQUAL "2.0" OR DOTNET_VERSION VERSION_GREATER "2.0")
6767
set(DOTNET_INSTALL_DEPENDENCIES
6868
${CMAKE_BINARY_DIR}/Microsoft.CodeAnalysis.dll
69-
${CMAKE_BINARY_DIR}/Microsoft.CodeAnalysis.CSharp.dll)
69+
${CMAKE_BINARY_DIR}/Microsoft.CodeAnalysis.CSharp.dll
70+
${CMAKE_BINARY_DIR}/System.Runtime.CompilerServices.Unsafe.dll
71+
${CMAKE_BINARY_DIR}/System.Text.Encoding.CodePages.dll)
7072
else()
7173
set(DOTNET_INSTALL_DEPENDENCIES ${CMAKE_BINARY_DIR}/System.Runtime.Loader.dll)
7274
endif()

0 commit comments

Comments
 (0)