Skip to content

Commit 2193d51

Browse files
Fix if(TARGET ...) condition for test (#447) (#449)
Signed-off-by: Christophe Bedard <[email protected]> (cherry picked from commit b6ba6a1) Co-authored-by: Christophe Bedard <[email protected]>
1 parent 9e6e37b commit 2193d51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ if(BUILD_TESTING)
418418
endmacro()
419419

420420
ament_add_gtest(test_shared_library_preloaded test/test_shared_library.cpp)
421-
if(TARGET test_shared_library_in_load_paths)
421+
if(TARGET test_shared_library_preloaded)
422422
add_dummy_shared_library(dummy_shared_library_preloaded)
423423
set_target_properties(dummy_shared_library_preloaded PROPERTIES
424424
LIBRARY_OUTPUT_DIRECTORY ${test_libraries_dir})

0 commit comments

Comments
 (0)