move find_package call to testing code
This commit is contained in:
parent
f35c06e27c
commit
64dc7ac220
2 changed files with 2 additions and 1 deletions
|
@ -60,7 +60,6 @@ ament_export_include_directories(include)
|
|||
ament_export_libraries(${PROJECT_NAME})
|
||||
|
||||
if(AMENT_ENABLE_TESTING)
|
||||
find_package(ament_cmake_gtest REQUIRED)
|
||||
find_package(ament_lint_auto REQUIRED)
|
||||
ament_lint_auto_find_test_dependencies()
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
find_package(ament_cmake_gtest REQUIRED)
|
||||
|
||||
set(extra_test_libraries)
|
||||
set(extra_memory_tools_env PHONY=) # Use a phony env var so there is always at least one.
|
||||
ament_find_gtest() # For GTEST_LIBRARIES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue