[Lldb-commits] [PATCH] D30927: Normalize the LLVM cmake path before appending it to the module path
Hugh Bellamy via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 13 21:59:16 PDT 2017
hughbe updated this revision to Diff 91676.
hughbe added a comment.
Address feedback from Zachary Turner
https://reviews.llvm.org/D30927
Files:
cmake/modules/LLDBStandalone.cmake
Index: cmake/modules/LLDBStandalone.cmake
===================================================================
--- cmake/modules/LLDBStandalone.cmake
+++ cmake/modules/LLDBStandalone.cmake
@@ -69,6 +69,7 @@
set(LLVMCONFIG_FILE "${LLVM_CMAKE_PATH}/LLVMConfig.cmake")
if(EXISTS ${LLVMCONFIG_FILE})
+ file(TO_CMAKE_PATH "${LLVM_CMAKE_PATH}" LLVM_CMAKE_PATH)
list(APPEND CMAKE_MODULE_PATH "${LLVM_CMAKE_PATH}")
include(${LLVMCONFIG_FILE})
else()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30927.91676.patch
Type: text/x-patch
Size: 465 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170314/6dc0f439/attachment.bin>
More information about the lldb-commits
mailing list