From d6df40ab0da385192ad3ce24adc229a226a2e5f2 Mon Sep 17 00:00:00 2001 From: FletcherFT Date: Fri, 6 Sep 2024 16:49:02 +0000 Subject: [PATCH] Correct path .so file installation for py packages --- .../python_module/cmake/add_python_export_library.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Schweizer-Messer/python_module/cmake/add_python_export_library.cmake b/Schweizer-Messer/python_module/cmake/add_python_export_library.cmake index ccd609372..ed5e5a14a 100755 --- a/Schweizer-Messer/python_module/cmake/add_python_export_library.cmake +++ b/Schweizer-Messer/python_module/cmake/add_python_export_library.cmake @@ -131,8 +131,8 @@ ${SETUP_PY_TEXT} get_filename_component(PYLIB_OUTPUT_NAME $ NAME_WE) install(TARGETS ${TARGET_NAME} - ARCHIVE DESTINATION ${CATKIN_GLOBAL_PYTHON_DESTINATION}/${TARGET_NAME} - LIBRARY DESTINATION ${CATKIN_GLOBAL_PYTHON_DESTINATION}/${TARGET_NAME} + ARCHIVE DESTINATION ${CATKIN_GLOBAL_PYTHON_DESTINATION}/${PYTHON_PACKAGE_NAME} + LIBRARY DESTINATION ${CATKIN_GLOBAL_PYTHON_DESTINATION}/${PYTHON_PACKAGE_NAME} ) # Cause the library to be output in the correct directory.