Polish include path inclusion. We do not need LLVM in ROOT.

This commit is contained in:
Danilo Piparo 2016-09-14 18:19:35 +02:00 committed by sftnight
parent b1ce4dbc1f
commit f33ef5e6f0

View File

@ -372,9 +372,7 @@ endif()
#Allow user to prepend to list via cmake -DCLING_INCLUDE_PATHS=
if(DEFINED ROOT_BINARY_DIR)
set(cling_include_deflt "${CMAKE_INSTALL_PREFIX}/include${cling_path_delim}\
${CMAKE_CURRENT_BINARY_DIR}/../llvm/src/tools/clang/include${cling_path_delim}\
${CMAKE_CURRENT_BINARY_DIR}/../llvm/src/include${cling_path_delim}")
set(cling_include_deflt "${CMAKE_INSTALL_PREFIX}/include")
if( CLING_INCLUDE_TESTS )
set(cling_include_deflt "${cling_path_delim}${cling_include_deflt}${cling_path_delim}\
${CMAKE_CURRENT_SOURCE_DIR}/include${cling_path_delim}\