Skip to content

Commit b6ba6a1

Browse files
Fix if(TARGET ...) condition for test (#447)
Signed-off-by: Christophe Bedard <[email protected]>
1 parent 0f80ab1 commit b6ba6a1

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
@@ -416,7 +416,7 @@ if(BUILD_TESTING)
416416
endmacro()
417417

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

0 commit comments

Comments
 (0)