From a1ee1c31cf9faa144ca9ccb9313e772277970c63 Mon Sep 17 00:00:00 2001 From: Axel Naumann Date: Mon, 12 Sep 2016 17:32:05 +0200 Subject: [PATCH] ROOT does not need the cling-install -I path. --- CMakeLists.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1433d74f..e15f55c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -386,13 +386,12 @@ ${CMAKE_CURRENT_SOURCE_DIR}/include${cling_path_delim}\ ${CMAKE_CURRENT_SOURCE_DIR}/../clang/include${cling_path_delim}\ ${CMAKE_CURRENT_SOURCE_DIR}/../../include" ) -endif() - -if (WIN32) - set(cling_include_deflt "${cling_include_deflt}${cling_path_delim}\ + if (WIN32) + set(cling_include_deflt "${cling_include_deflt}${cling_path_delim}\ ${CMAKE_BINARY_DIR}/include${cling_path_delim}\ ${CMAKE_BINARY_DIR}/tools/clang/include" -) + ) + endif() endif() if(NOT CLING_INCLUDE_PATHS)