Skip to content

Commit

Permalink
Correctly include LLVM_EXTERNAL_CLANG_SOURCE_DIR.
Browse files Browse the repository at this point in the history
Reviewers: sas, ovyalov

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D14166

llvm-svn: 251589
  • Loading branch information
chaoren committed Oct 29, 2015
1 parent 148e0d3 commit 41c5023
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lldb/cmake/modules/LLDBConfig.cmake
Expand Up @@ -194,7 +194,11 @@ if (LLDB_DISABLE_PYTHON)
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
Expand Down

0 comments on commit 41c5023

Please sign in to comment.