mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-13 20:33:27 +00:00
22 lines
900 B
Diff
22 lines
900 B
Diff
Fixes:
|
|
|
|
CMake Error at src/runtime/eng/native/functions.cmake:668 (add_executable):
|
|
Feature 'RESCAN', specified through generator-expression '$<LINK_GROUP>' to
|
|
link target 'ilasm', is not supported for the 'CXX' link language.
|
|
Call Stack (most recent call first):
|
|
ilasm/CMakeLists.txt:73 (add_executable_clr)
|
|
|
|
diff --git a/src/runtime/eng/native/configurecompiler.cmake b/src/runtime/eng/native/configurecompiler.cmake
|
|
index 8f3d6ad671d..f43a4a7a5f3 100644
|
|
--- a/src/runtime/eng/native/configurecompiler.cmake
|
|
+++ b/src/runtime/eng/native/configurecompiler.cmake
|
|
@@ -34,7 +34,7 @@ if (CLR_CMAKE_HOST_UNIX)
|
|
endif()
|
|
endif()
|
|
|
|
-if (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
|
|
+if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
|
# enable $<LINK_GROUP:RESCAN> on AppleClang as a no-op
|
|
set(CMAKE_LINK_GROUP_USING_RESCAN "" "")
|
|
set(CMAKE_LINK_GROUP_USING_RESCAN_SUPPORTED ON)
|