mirror of
https://github.com/intel/llvm.git
synced 2026-01-17 14:48:27 +08:00
[CMake] Support for monorepo layout
Support finding libcxx and libunwind sources in monorepo style layout. Differential Revision: https://reviews.llvm.org/D45269 llvm-svn: 329208
This commit is contained in:
@@ -99,6 +99,7 @@ else()
|
||||
set(LIBCXXABI_LIBCXX_SRC_DIRS
|
||||
"${LLVM_MAIN_SRC_DIR}/projects/libcxx"
|
||||
"${LLVM_MAIN_SRC_DIR}/runtimes/libcxx"
|
||||
"${LLVM_MAIN_SRC_DIR}/../libcxx"
|
||||
)
|
||||
endif()
|
||||
|
||||
@@ -426,6 +427,7 @@ if (LIBCXXABI_USE_LLVM_UNWINDER OR LLVM_NATIVE_ARCH MATCHES ARM)
|
||||
${CMAKE_BINARY_DIR}/${LIBCXXABI_LIBUNWIND_INCLUDES}
|
||||
${LLVM_MAIN_SRC_DIR}/projects/libunwind/include
|
||||
${LLVM_MAIN_SRC_DIR}/runtimes/libunwind/include
|
||||
${LLVM_MAIN_SRC_DIR}/../libunwind/include
|
||||
NO_DEFAULT_PATH
|
||||
NO_CMAKE_FIND_ROOT_PATH
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user