only find GTest once
This commit is contained in:
parent
9f2010d6f3
commit
f1256645fb
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,10 @@ set(extra_test_libraries)
|
|||
set(extra_test_env)
|
||||
set(extra_lib_dirs "${rcl_lib_dir}")
|
||||
|
||||
# finding gtest once in the highest scope
|
||||
# prevents finding it repeatedly in each local scope
|
||||
ament_find_gtest()
|
||||
|
||||
# This subdirectory extends both extra_test_libraries, extra_test_env, and extra_lib_dirs.
|
||||
add_subdirectory(memory_tools)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue