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 73e15f9 commit abe827aCopy full SHA for abe827a
cmake/Modules/HandleOutOfTreeLLVM.cmake
@@ -9,6 +9,9 @@ macro(find_llvm_parts)
9
set(LLVM_PATH ${LLVM_PATH} CACHE PATH "Path to LLVM source tree")
10
set(LLVM_MAIN_SRC_DIR ${LLVM_PATH})
11
set(LLVM_CMAKE_PATH "${LLVM_PATH}/cmake/modules")
12
+ if (NOT IS_DIRECTORY "${LLVM_PATH}")
13
+ message(FATAL_ERROR "The provided LLVM_PATH (${LLVM_PATH}) is not a valid directory")
14
+ endif()
15
elseif(LLVM_CONFIG_PATH)
16
message(STATUS "Found LLVM_CONFIG_PATH as ${LLVM_CONFIG_PATH}")
17
set(LIBCXXABI_USING_INSTALLED_LLVM 1)
0 commit comments