diff options
| author | Petr Hosek <phosek@chromium.org> | 2018-04-04 17:40:59 +0000 |
|---|---|---|
| committer | Petr Hosek <phosek@chromium.org> | 2018-04-04 17:40:59 +0000 |
| commit | 86a9ddcd1acca857565fdbcd38e60e7067f26231 (patch) | |
| tree | a8b33d141d9f652f1b54f2c602accb8afad71b7e | |
| parent | 15b2bdfd8b1572acc51bbf018d3ae84bbd70b512 (diff) | |
[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
| -rw-r--r-- | libcxxabi/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxxabi/CMakeLists.txt b/libcxxabi/CMakeLists.txt index 35eb13036ef5..4b1f15134e07 100644 --- a/libcxxabi/CMakeLists.txt +++ b/libcxxabi/CMakeLists.txt @@ -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 ) |
