[Lldb-commits] [PATCH] D23881: cmake: Add local module directory to search path for standalone build
Michał Górny via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 25 10:27:49 PDT 2016
mgorny created this revision.
mgorny added reviewers: krytarowski, Eugene.Zelenko.
mgorny added a subscriber: lldb-commits.
Add cmake/modules directory to cmake module search path as otherwise CMake fails to find CheckAtomic module when performing standalone build.
// Note: I don't have commit access //
https://reviews.llvm.org/D23881
Files:
cmake/modules/LLDBStandalone.cmake
Index: cmake/modules/LLDBStandalone.cmake
===================================================================
--- cmake/modules/LLDBStandalone.cmake
+++ cmake/modules/LLDBStandalone.cmake
@@ -84,6 +84,7 @@
set(LLVM_SHLIB_OUTPUT_INTDIR ${LLVM_LIBRARY_OUTPUT_INTDIR})
endif()
+ list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules")
include(AddLLVM)
include(HandleLLVMOptions)
include(CheckAtomic)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23881.69266.patch
Type: text/x-patch
Size: 428 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160825/3dbd6724/attachment-0001.bin>
More information about the lldb-commits
mailing list