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 1fbb6d8 commit 14b2b67Copy full SHA for 14b2b67
compiler-rt/CMakeLists.txt
@@ -672,7 +672,8 @@ if(COMPILER_RT_USE_LIBCXX)
672
# Don't use libcxx if LLVM_ENABLE_PROJECTS does not enable it.
673
set(COMPILER_RT_LIBCXX_PATH ${LLVM_EXTERNAL_LIBCXX_SOURCE_DIR})
674
set(COMPILER_RT_LIBCXXABI_PATH ${LLVM_EXTERNAL_LIBCXXABI_SOURCE_DIR})
675
- else()
+ endif()
676
+ if(NOT IS_DIRECTORY ${COMPILER_RT_LIBCXX_PATH})
677
foreach(path IN ITEMS ${LLVM_MAIN_SRC_DIR}/projects/libcxx
678
${LLVM_MAIN_SRC_DIR}/runtimes/libcxx
679
${LLVM_MAIN_SRC_DIR}/../libcxx
0 commit comments