nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 21 lines 900 B view raw
1Fixes: 2 3 CMake Error at src/runtime/eng/native/functions.cmake:668 (add_executable): 4 Feature 'RESCAN', specified through generator-expression '$<LINK_GROUP>' to 5 link target 'ilasm', is not supported for the 'CXX' link language. 6 Call Stack (most recent call first): 7 ilasm/CMakeLists.txt:73 (add_executable_clr) 8 9diff --git a/src/runtime/eng/native/configurecompiler.cmake b/src/runtime/eng/native/configurecompiler.cmake 10index 8f3d6ad671d..f43a4a7a5f3 100644 11--- a/src/runtime/eng/native/configurecompiler.cmake 12+++ b/src/runtime/eng/native/configurecompiler.cmake 13@@ -34,7 +34,7 @@ if (CLR_CMAKE_HOST_UNIX) 14 endif() 15 endif() 16 17-if (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") 18+if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") 19 # enable $<LINK_GROUP:RESCAN> on AppleClang as a no-op 20 set(CMAKE_LINK_GROUP_USING_RESCAN "" "") 21 set(CMAKE_LINK_GROUP_USING_RESCAN_SUPPORTED ON)