Skip to content

Commit a5bf488

Browse files
andresailerguitargeek
authored andcommitted
ROOTTEST_COMPILE_MACRO: fix default_root_include_path
quotes are escaped by cmake, making the ROOT_INCLUDE_PATH not work, paths with spaces are not supported for some time (cherry picked from commit f0459bc)
1 parent 71e4c99 commit a5bf488

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/modules/RootMacros.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2400,8 +2400,8 @@ macro(ROOTTEST_COMPILE_MACRO filename)
24002400

24012401
cmake_path(CONVERT "${CMAKE_CURRENT_BINARY_DIR}" TO_NATIVE_PATH_LIST NATIVE_BINARY_DIR)
24022402
set(root_compile_macro ${CMAKE_COMMAND} -E env
2403-
ROOT_LIBRARY_PATH="${NATIVE_BINARY_DIR}"
2404-
ROOT_INCLUDE_PATH="${CMAKE_CURRENT_BINARY_DIR}:${DEFAULT_ROOT_INCLUDE_PATH}"
2403+
ROOT_LIBRARY_PATH=${NATIVE_BINARY_DIR}
2404+
ROOT_INCLUDE_PATH=${CMAKE_CURRENT_BINARY_DIR}:${DEFAULT_ROOT_INCLUDE_PATH}
24052405
${ROOT_root_CMD}
24062406
-e "gSystem->SetBuildDir(\"${CMAKE_CURRENT_BINARY_DIR}\", true)"
24072407
${RootMacroDirDefines}

0 commit comments

Comments
 (0)