From 4bde1bb2bd2ab3fcb6385a929e8cef1ad03345f1 Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Tue, 24 Oct 2023 11:21:58 +0200 Subject: [PATCH] Clean up the CMakeLists.txt for tests --- test/k4FWCoreTest/CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/k4FWCoreTest/CMakeLists.txt b/test/k4FWCoreTest/CMakeLists.txt index b487fa34..d68c9369 100644 --- a/test/k4FWCoreTest/CMakeLists.txt +++ b/test/k4FWCoreTest/CMakeLists.txt @@ -48,14 +48,6 @@ include(CTest) set(K4RUN ${PROJECT_SOURCE_DIR}/k4FWCore/scripts/k4run) -#--- The genConf directory has been renamed to genConfDir in Gaudi 35r1 -#--- See https://gitlab.cern.ch/gaudi/Gaudi/-/merge_requests/1158 -set(GAUDI_GENCONF_DIR "genConfDir") -if (${Gaudi_VERSION} VERSION_LESS 35.1) - set(GAUDI_GENCONF_DIR "genConf") -endif() - - function(set_test_env _testname) set_property(TEST ${_testname} APPEND PROPERTY ENVIRONMENT "ROOT_INCLUDE_PATH=$<$:$/../include>:$<$:$/../include>:$ENV{ROOT_INCLUDE_PATH}") set_property(TEST ${_testname} APPEND PROPERTY ENVIRONMENT "LD_LIBRARY_PATH=${PROJECT_BINARY_DIR}:${PROJECT_BINARY_DIR}/${CMAKE_PROJECT_NAME}:${PROJECT_BINARY_DIR}/test/k4FWCoreTest:$<$:$>:$<$:$>:$<$:$>:$ENV{LD_LIBRARY_PATH}")