We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c182a1 commit 9dc3e4aCopy full SHA for 9dc3e4a
1 file changed
tests/install/CMakeLists.txt
@@ -4,11 +4,10 @@ project(rsl-install-test CXX)
4
add_executable(test-rsl-install install.cpp)
5
6
if(PROJECT_IS_TOP_LEVEL)
7
- # Test consumption via find_package interface and ament_target_dependencies
8
- find_package(ament_cmake_ros REQUIRED)
+ # Test consumption via find_package interface
9
find_package(rsl 1.1.0 EXACT REQUIRED)
10
11
- ament_target_dependencies(test-rsl-install rsl)
+ target_link_libraries(test-rsl-install PRIVATE rsl::rsl)
12
else()
13
# Test consumption via in-tree build
14
target_link_libraries(test-rsl-install PRIVATE rsl::rsl)
0 commit comments