Skip to content

Commit 9dc3e4a

Browse files
Fix removed ament_target_dependencies (#153)
1 parent 2c182a1 commit 9dc3e4a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

tests/install/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ project(rsl-install-test CXX)
44
add_executable(test-rsl-install install.cpp)
55

66
if(PROJECT_IS_TOP_LEVEL)
7-
# Test consumption via find_package interface and ament_target_dependencies
8-
find_package(ament_cmake_ros REQUIRED)
7+
# Test consumption via find_package interface
98
find_package(rsl 1.1.0 EXACT REQUIRED)
109

11-
ament_target_dependencies(test-rsl-install rsl)
10+
target_link_libraries(test-rsl-install PRIVATE rsl::rsl)
1211
else()
1312
# Test consumption via in-tree build
1413
target_link_libraries(test-rsl-install PRIVATE rsl::rsl)

0 commit comments

Comments
 (0)