[PATCH] D25003: [libcxxabi] [cmake] Update LLVM_CMAKE_PATH following install layout change
Michał Górny via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 28 00:21:34 PDT 2016
mgorny created this revision.
mgorny added reviewers: danalbert, EricWF.
mgorny added a subscriber: cfe-commits.
Herald added subscribers: mgorny, beanz.
Update LLVM_CMAKE_PATH in stand-alone builds to match the new install layout used by LLVM 3.9+ where CMake files are installed into lib*/cmake/llvm rather than share/llvm/cmake.
https://reviews.llvm.org/D25003
Files:
CMakeLists.txt
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -49,7 +49,7 @@
set(LLVM_INCLUDE_DIR ${INCLUDE_DIR} CACHE PATH "Path to llvm/include")
set(LLVM_BINARY_DIR ${LLVM_OBJ_ROOT} CACHE PATH "Path to LLVM build tree")
set(LLVM_MAIN_SRC_DIR ${MAIN_SRC_DIR} CACHE PATH "Path to LLVM source tree")
- set(LLVM_CMAKE_PATH "${LLVM_BINARY_DIR}/share/llvm/cmake")
+ set(LLVM_CMAKE_PATH "${LLVM_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/cmake/llvm")
set(LLVM_LIT_PATH "${LLVM_PATH}/utils/lit/lit.py")
else()
message(FATAL_ERROR "llvm-config not found and LLVM_MAIN_SRC_DIR not defined. "
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25003.72769.patch
Type: text/x-patch
Size: 682 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160928/5e102875/attachment.bin>
More information about the cfe-commits
mailing list