mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-28 16:11:29 +00: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:
parent
15b2bdfd8b
commit
86a9ddcd1a
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user