[libunwind] r329212 - [CMake] Support for monorepo layout
Petr Hosek via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 4 10:57:15 PDT 2018
Author: phosek
Date: Wed Apr 4 10:57:15 2018
New Revision: 329212
URL: http://llvm.org/viewvc/llvm-project?rev=329212&view=rev
Log:
[CMake] Support for monorepo layout
Support finding libcxx sources in monorepo style layout.
Differential Revision: https://reviews.llvm.org/D45270
Modified:
libunwind/trunk/CMakeLists.txt
Modified: libunwind/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/libunwind/trunk/CMakeLists.txt?rev=329212&r1=329211&r2=329212&view=diff
==============================================================================
--- libunwind/trunk/CMakeLists.txt (original)
+++ libunwind/trunk/CMakeLists.txt Wed Apr 4 10:57:15 2018
@@ -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
)
More information about the cfe-commits
mailing list