We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a386674 commit 8fce4f7Copy full SHA for 8fce4f7
build/walrus.cmake
@@ -66,7 +66,14 @@ IF (WALRUS_GC)
66
SET (GCUTIL_CFLAGS ${GCUTIL_CFLAGS} -DSMALL_CONFIG -DMAX_HEAP_SECTS=512)
67
ENDIF()
68
SET (GCUTIL_MODE ${WALRUS_MODE})
69
+ IF (${CMAKE_CXX_COMPILER_ID} STREQUAL "AppleClang")
70
+ SET (RESET_COMPILER_ID ${CMAKE_CXX_COMPILER_ID})
71
+ SET (CMAKE_CXX_COMPILER_ID "Clang")
72
+ ENDIF()
73
ADD_SUBDIRECTORY (third_party/GCutil)
74
+ IF (RESET_COMPILER_ID)
75
+ SET (CMAKE_CXX_COMPILER_ID ${RESET_COMPILER_ID})
76
77
SET (WALRUS_LIBRARIES ${WALRUS_LIBRARIES} gc-lib)
78
SET (WALRUS_DEFINITIONS ${WALRUS_DEFINITIONS} -DENABLE_GC)
79
0 commit comments