File tree Expand file tree Collapse file tree
roottest/root/io/transient/base Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,8 +30,18 @@ else()
3030 set (outref_suffix "ZLIB" )
3131endif ()
3232
33+ set (root_includepaths
34+ ${CMAKE_CURRENT_SOURCE_DIR }
35+ ${DEFAULT_ROOT_INCLUDE_PATH}
36+ )
37+ cmake_path (CONVERT "${root_includepaths} " TO_NATIVE_PATH_LIST root_includepaths_native )
38+ # Like in tutorials/CMakeLists.txt, we use this generator expression to make
39+ # sure the semicolon in Windows path separators doesn't get used up for list
40+ # parsing at configuration time in ROOTTEST_ADD_TEST.
41+ string (REPLACE ";" "$<SEMICOLON >" root_includepaths_escaped "${root_includepaths_native} " )
42+
3343ROOTTEST_ADD_TEST (hadd_autoload
3444 COMMAND hadd -f data_merge.root data1.root data2.root
3545 OUTREF hadd_autoload${outref_suffix}.ref
3646 FIXTURES_REQUIRED root-io-transient-base-WriteFile-fixture
37- ENVIRONMENT ROOT_INCLUDE_PATH=${CMAKE_CURRENT_SOURCE_DIR}:${DEFAULT_ROOT_INCLUDE_PATH } )
47+ ENVIRONMENT ROOT_INCLUDE_PATH=${root_includepaths_escaped } )
You can’t perform that action at this time.
0 commit comments