Further polish list of include paths
This commit is contained in:
parent
f33ef5e6f0
commit
8f60f8dc30
@ -372,18 +372,18 @@ 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")
|
||||
if( CLING_INCLUDE_TESTS )
|
||||
set(cling_include_deflt "${cling_path_delim}${cling_include_deflt}${cling_path_delim}\
|
||||
set(cling_include_deflt "${CMAKE_INSTALL_PREFIX}/include${cling_path_delim}\
|
||||
${cling_include_deflt}${cling_path_delim}\
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include${cling_path_delim}\
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../llvm/src/tools/clang/include${cling_path_delim}\
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../llvm/src/include"
|
||||
)
|
||||
endif()
|
||||
else()
|
||||
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}\
|
||||
set(cling_include_deflt "${CMAKE_INSTALL_PREFIX}/include${cling_path_delim}\
|
||||
${cling_include_deflt}${cling_path_delim}\
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include${cling_path_delim}\
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../clang/include${cling_path_delim}\
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../include"
|
||||
|
Loading…
Reference in New Issue
Block a user