summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorGaurav Khanna <gkhanna@microsoft.com>2016-03-04 02:10:26 (GMT)
committerGaurav Khanna <gkhanna@microsoft.com>2016-03-04 17:24:34 (GMT)
commitf8dfa40dc21c01e4dc297aeb4a23db22d1830506 (patch)
tree7faf98239420c59c61f9c29c0e8f60d2fad566fb /src/tools
parentd31008b8ee2ad0303d90905188e50d3f6cd8e166 (diff)
downloadcoreclr-f8dfa40dc21c01e4dc297aeb4a23db22d1830506.zip
coreclr-f8dfa40dc21c01e4dc297aeb4a23db22d1830506.tar.gz
coreclr-f8dfa40dc21c01e4dc297aeb4a23db22d1830506.tar.bz2
Fixup CRT linkages for uCRT
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/GenClrDebugResource/CMakeLists.txt7
-rw-r--r--src/tools/InjectResource/CMakeLists.txt7
-rw-r--r--src/tools/crossgen/CMakeLists.txt5
3 files changed, 17 insertions, 2 deletions
diff --git a/src/tools/GenClrDebugResource/CMakeLists.txt b/src/tools/GenClrDebugResource/CMakeLists.txt
index c23a603..c30f391 100644
--- a/src/tools/GenClrDebugResource/CMakeLists.txt
+++ b/src/tools/GenClrDebugResource/CMakeLists.txt
@@ -3,4 +3,9 @@ add_executable(GenClrDebugResource GenClrDebugResource.cpp)
target_link_libraries(GenClrDebugResource
${STATIC_MT_CRT_LIB}
-) \ No newline at end of file
+)
+
+# ARM64_TODO: Enable this for Windows Arm64
+if (NOT CLR_CMAKE_PLATFORM_ARCH_ARM64)
+ target_link_libraries(GenClrDebugResource ${STATIC_MT_VCRT_LIB})
+endif() \ No newline at end of file
diff --git a/src/tools/InjectResource/CMakeLists.txt b/src/tools/InjectResource/CMakeLists.txt
index b530923..f859306 100644
--- a/src/tools/InjectResource/CMakeLists.txt
+++ b/src/tools/InjectResource/CMakeLists.txt
@@ -6,4 +6,9 @@ add_executable(InjectResource InjectResource.cpp)
target_link_libraries(InjectResource
${STATIC_MT_CRT_LIB}
-) \ No newline at end of file
+)
+
+# ARM64_TODO: Enable this for Windows Arm64
+if (NOT CLR_CMAKE_PLATFORM_ARCH_ARM64)
+ target_link_libraries(InjectResource ${STATIC_MT_VCRT_LIB})
+endif() \ No newline at end of file
diff --git a/src/tools/crossgen/CMakeLists.txt b/src/tools/crossgen/CMakeLists.txt
index cb983bd..9bbf373 100644
--- a/src/tools/crossgen/CMakeLists.txt
+++ b/src/tools/crossgen/CMakeLists.txt
@@ -60,6 +60,11 @@ else()
${STATIC_MT_CRT_LIB}
)
+ # ARM64_TODO: Enable this for Windows Arm64
+ if (NOT CLR_CMAKE_PLATFORM_ARCH_ARM64)
+ target_link_libraries(crossgen ${STATIC_MT_VCRT_LIB})
+ endif()
+
# We will generate PDB only for the debug configuration
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/$<CONFIG>/crossgen.pdb DESTINATION PDB)