[Lldb-commits] [PATCH] D14166: Correctly include LLVM_EXTERNAL_CLANG_SOURCE_DIR.
Chaoren Lin via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 28 17:51:01 PDT 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL251589: Correctly include LLVM_EXTERNAL_CLANG_SOURCE_DIR. (authored by chaoren).
Changed prior to commit:
http://reviews.llvm.org/D14166?vs=38700&id=38702#toc
Repository:
rL LLVM
http://reviews.llvm.org/D14166
Files:
lldb/trunk/cmake/modules/LLDBConfig.cmake
Index: lldb/trunk/cmake/modules/LLDBConfig.cmake
===================================================================
--- lldb/trunk/cmake/modules/LLDBConfig.cmake
+++ lldb/trunk/cmake/modules/LLDBConfig.cmake
@@ -194,7 +194,11 @@
add_definitions( -DLLDB_DISABLE_PYTHON )
endif()
-include_directories(${CMAKE_SOURCE_DIR}/tools/clang/include)
+if (LLVM_EXTERNAL_CLANG_SOURCE_DIR)
+ include_directories(${LLVM_EXTERNAL_CLANG_SOURCE_DIR}/include)
+else ()
+ include_directories(${CMAKE_SOURCE_DIR}/tools/clang/include)
+endif ()
include_directories("${CMAKE_CURRENT_BINARY_DIR}/../clang/include")
# Disable GCC warnings
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14166.38702.patch
Type: text/x-patch
Size: 628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151029/51530a9b/attachment.bin>
More information about the lldb-commits
mailing list