forked from OSchip/llvm-project
Remove the hardcoded declaration to the Python include path. Thanks to Kal Conley for the patch
llvm-svn: 194804
This commit is contained in:
parent
0b76e408b4
commit
a25cf71894
|
@ -85,7 +85,10 @@ macro(add_lldb_definitions)
|
|||
add_definitions( ${ARGN} )
|
||||
endmacro(add_lldb_definitions)
|
||||
|
||||
include_directories(/usr/include/python2.7)
|
||||
if (NOT LLDB_DISABLE_PYTHON)
|
||||
find_package(PythonLibs REQUIRED)
|
||||
include_directories(${PYTHON_INCLUDE_DIRS})
|
||||
endif()
|
||||
include_directories(../clang/include)
|
||||
include_directories("${CMAKE_CURRENT_BINARY_DIR}/../clang/include")
|
||||
|
||||
|
|
Loading…
Reference in New Issue