[Lldb-commits] [PATCH] D30927: Normalize the LLVM cmake path before appending it to the module path
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 13 21:32:54 PDT 2017
Shouldn't this be file(TO_CMAKE_PATH...)?
On Mon, Mar 13, 2017 at 9:09 PM Hugh Bellamy via Phabricator via
lldb-commits <lldb-commits at lists.llvm.org> wrote:
> hughbe updated this revision to Diff 91668.
> hughbe added a comment.
>
> Fix preview
>
>
> 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})
> + get_filename_component(LLVM_CMAKE_PATH ${LLVM_CMAKE_PATH} ABSOLUTE)
> list(APPEND CMAKE_MODULE_PATH "${LLVM_CMAKE_PATH}")
> include(${LLVMCONFIG_FILE})
> else()
>
>
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170314/ed4f3094/attachment.html>
More information about the lldb-commits
mailing list