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 e901a56 commit 2428c15Copy full SHA for 2428c15
interpreter/CMakeLists.txt
@@ -93,7 +93,10 @@ if(cxxmodules)
93
# because the cxxmodules builds in llvm have different build dependency order.
94
string(REPLACE "${ROOT_CXXMODULES_CXXFLAGS}" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
95
string(REPLACE "${ROOT_CXXMODULES_CFLAGS}" "" CMAKE_C_FLAGS ${CMAKE_C_FLAGS})
96
- set (LLVM_ENABLE_MODULES ON CACHE BOOL "Override the default LLVM_ENABLE_MODULES option value." )
+ if(libcxx)
97
+ # FIXME: We cannot build LLVM/clang with modules on with libstdc++, yet.
98
+ set (LLVM_ENABLE_MODULES ON CACHE BOOL "Override the default LLVM_ENABLE_MODULES option value." )
99
+ endif(libcxx)
100
endif(cxxmodules)
101
102
if(gcctoolchain)
0 commit comments