From e50c1988af5561987a14dfc45f355393061ac9ad Mon Sep 17 00:00:00 2001 From: arummler Date: Mon, 4 Dec 2023 13:55:32 +0100 Subject: [PATCH] Fix tests dependencies after move to use FetchContent to retrieve SIO. Co-authored-by: Thomas Madlener --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 9cfb5f90a..d915849f0 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -201,7 +201,7 @@ MACRO( ADD_LCIO_TEST file ) ADD_EXECUTABLE( ${file} EXCLUDE_FROM_ALL ../src/cpp/src/TESTS/${file}.cc ) ENDIF() ADD_DEPENDENCIES( tests ${file} ) - TARGET_LINK_LIBRARIES( ${file} lcio sio) + TARGET_LINK_LIBRARIES( ${file} LCIO::lcio SIO::sio) ADD_TEST( t_${file} "${EXECUTABLE_OUTPUT_PATH}/${file}" ) SET_TESTS_PROPERTIES( t_${file} PROPERTIES PASS_REGULAR_EXPRESSION "TEST_PASSED" ) ENDMACRO()