diff options
author | Petr Hosek <phosek@chromium.org> | 2018-04-04 17:57:15 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2018-04-04 17:57:15 +0000 |
commit | 163a2094b806906fe561db249a9f068dca1f3001 (patch) | |
tree | 20e610f486c193685e0d36e2524cda248b2eee43 | |
parent | d550d634cd38e02f4693e844f2ce2be2a65d14c5 (diff) |
[CMake] Support for monorepo layout
Support finding libcxx sources in monorepo style layout.
Differential Revision: https://reviews.llvm.org/D45270
git-svn-id: https://llvm.org/svn/llvm-project/libunwind/trunk@329212 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 31af0cb..3a306a6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -332,6 +332,7 @@ find_path( __libcpp_version PATHS ${LLVM_MAIN_SRC_DIR}/projects/libcxx/include ${LLVM_MAIN_SRC_DIR}/runtimes/libcxx/include + ${LLVM_MAIN_SRC_DIR}/../libcxx/include NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH ) |