diff --git a/CMakeLists.txt b/CMakeLists.txt index ee16d17..38dd59b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,13 +42,16 @@ install(DIRECTORY include/ DESTINATION include ) -install(TARGETS DepthImageToLaserScan DepthImageToLaserScanROS depthimage_to_laserscan_node - EXPORT export_depthimage_to_laserscan_node +install(TARGETS DepthImageToLaserScan DepthImageToLaserScanROS ARCHIVE DESTINATION lib LIBRARY DESTINATION lib RUNTIME DESTINATION bin ) +install(TARGETS depthimage_to_laserscan_node + DESTINATION lib/${PROJECT_NAME} +) + if(BUILD_TESTING) find_package(ament_cmake_gtest REQUIRED)