[PATCH] D45270: [CMake] Support for monorepo layout

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 4 10:39:57 PDT 2018


phosek created this revision.
phosek added reviewers: EricWF, beanz, jroelofs.
Herald added subscribers: cfe-commits, christof, mgorny.

Support finding libcxx sources in monorepo style layout.


Repository:
  rUNW libunwind

https://reviews.llvm.org/D45270

Files:
  libunwind/CMakeLists.txt


Index: libunwind/CMakeLists.txt
===================================================================
--- libunwind/CMakeLists.txt
+++ libunwind/CMakeLists.txt
@@ -332,6 +332,7 @@
   __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
   )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45270.140990.patch
Type: text/x-patch
Size: 405 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180404/9256c8eb/attachment.bin>


More information about the cfe-commits mailing list