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()