[Lldb-commits] [PATCH] D14089: Avoid using `..` in paths for include dirs.

Stephane Sezer via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 26 13:21:04 PDT 2015


sas created this revision.
sas added reviewers: dawn, brucem.
sas added a subscriber: lldb-commits.

This breaks when using a symlink from llvm/tools/lldb to the lldb source
tree, instead of cloning directly as a child. With this change, we can
build properly, even when using links.

http://reviews.llvm.org/D14089

Files:
  cmake/modules/LLDBConfig.cmake

Index: cmake/modules/LLDBConfig.cmake
===================================================================
--- cmake/modules/LLDBConfig.cmake
+++ cmake/modules/LLDBConfig.cmake
@@ -194,7 +194,7 @@
   add_definitions( -DLLDB_DISABLE_PYTHON )
 endif()
 
-include_directories(../clang/include)
+include_directories(${CMAKE_SOURCE_DIR}/tools/clang/include)
 include_directories("${CMAKE_CURRENT_BINARY_DIR}/../clang/include")
 
 # Disable GCC warnings


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14089.38454.patch
Type: text/x-patch
Size: 447 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151026/1688e011/attachment.bin>


More information about the lldb-commits mailing list