Skip to content

Commit

Permalink
Set source path to be used by common::testing (#206)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll authored Feb 24, 2022
1 parent 3f918e0 commit 56632a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/IgnUtils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1718,6 +1718,9 @@ macro(ign_build_tests)
target_link_libraries(${target_name} pthread)
endif()

target_compile_definitions(${target_name} PRIVATE
"TESTING_PROJECT_SOURCE_DIR=\"${PROJECT_SOURCE_DIR}\"")

set_tests_properties(${target_name} PROPERTIES TIMEOUT 240)

if(PYTHONINTERP_FOUND)
Expand Down

0 comments on commit 56632a3

Please sign in to comment.