Skip to content

Commit

Permalink
Set PODIO_SIOBLOCK_PATH to PROJECT_BINARY_DIR/tests where *SioBlocks.…
Browse files Browse the repository at this point in the history
…so is
  • Loading branch information
jmcarcell committed Apr 18, 2024
1 parent f18dc50 commit bbd8b2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unittests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ else()
TEST_PREFIX "UT_" # make it possible to filter easily with -R ^UT
TEST_SPEC ${filter_tests} # discover only tests that are known to not fail
PROPERTIES
ENVIRONMENT
PODIO_SIOBLOCK_PATH=${PROJECT_BINARY_DIR}/tests
ENVIRONMENT
LD_LIBRARY_PATH=${CMAKE_CURRENT_BINARY_DIR}:${PROJECT_BINARY_DIR}/src:${PROJECT_BINARY_DIR}/tests:$<TARGET_FILE_DIR:ROOT::Tree>:$<$<TARGET_EXISTS:SIO::sio>:$<TARGET_FILE_DIR:SIO::sio>>:$ENV{LD_LIBRARY_PATH}
PODIO_SIOBLOCK_PATH=${CMAKE_CURRENT_BINARY_DIR}
)
endif()

0 comments on commit bbd8b2d

Please sign in to comment.