Specify test working directory (#529)
Avert breakage from https://github.com/ament/ament_cmake/pull/206 Signed-off-by: Dan Rose <dan@digilabs.io>
This commit is contained in:
parent
53e88d89c2
commit
c1739354b1
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ if(BUILD_TESTING)
|
|||
# Gtests
|
||||
ament_add_gtest(test_parse_yaml
|
||||
test/test_parse_yaml.cpp
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
|
||||
)
|
||||
if(TARGET test_parse_yaml)
|
||||
target_link_libraries(test_parse_yaml ${PROJECT_NAME})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue