Skip to content

Commit

Permalink
Fix tests dependencies after move to use FetchContent to retrieve SIO.
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Madlener <[email protected]>
  • Loading branch information
arummler and tmadlener committed Dec 6, 2023
1 parent 7a4f947 commit 96e2496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 96e2496

Please sign in to comment.