From e7188b6ece0a8b30e20594d93a3710811941210f Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Wed, 11 Dec 2024 14:28:04 +0900 Subject: [PATCH] jsk_interactive_marker: use catkin_install_python in CMakeLists.txt --- .../jsk_interactive_marker/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/jsk_interactive_markers/jsk_interactive_marker/CMakeLists.txt b/jsk_interactive_markers/jsk_interactive_marker/CMakeLists.txt index 63e53c41..2324ca24 100644 --- a/jsk_interactive_markers/jsk_interactive_marker/CMakeLists.txt +++ b/jsk_interactive_markers/jsk_interactive_marker/CMakeLists.txt @@ -240,7 +240,12 @@ install(TARGETS jsk_interactive_marker LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} ) -install(DIRECTORY config euslisp launch models scripts urdf +file(GLOB PYTHON_SCRIPTS scripts/*.py) +catkin_install_python( + PROGRAMS ${PYTHON_SCRIPTS} + DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} +) +install(DIRECTORY config euslisp launch models urdf DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} USE_SOURCE_PERMISSIONS PATTERN ".svn" EXCLUDE