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)
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)
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits