From 821e6cc0ba5f3c1c0a77f47a939e372a4b6a1646 Mon Sep 17 00:00:00 2001 From: apoorva Date: Mon, 27 Mar 2023 16:45:18 +0530 Subject: [PATCH] now launch file install properly --- ros2_ws/src/find-pose/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ros2_ws/src/find-pose/CMakeLists.txt b/ros2_ws/src/find-pose/CMakeLists.txt index 9babdb16..1b1d8d3c 100644 --- a/ros2_ws/src/find-pose/CMakeLists.txt +++ b/ros2_ws/src/find-pose/CMakeLists.txt @@ -92,10 +92,10 @@ install(TARGETS ############# ## Install ## ############# - install(PROGRAMS - launch/find-pose-node.py - DESTINATION lib/${PROJECT_NAME} - ) + install(DIRECTORY + launch/. + DESTINATION share/${PROJECT_NAME}/launch + )