Skip to content

Commit

Permalink
- add srcdir to test targets
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergmann committed Mar 27, 2023
1 parent 7a30f4f commit b2a45a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sbml/xml/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,5 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
add_executable(test_sbml_xml ${TEST_FILES})
target_link_libraries(test_sbml_xml ${LIBSBML_LIBRARY}-static CHECK::CHECK)
add_test(test_sbml_xml_run ${CMAKE_CURRENT_BINARY_DIR}/test_sbml_xml )
set_tests_properties(test_sbml_xml_run PROPERTIES ENVIRONMENT
"srcdir=${CMAKE_CURRENT_SOURCE_DIR}")

0 comments on commit b2a45a5

Please sign in to comment.