From be19467bd55e76ce8f6809698f5caf332b74e6f6 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Mon, 30 Sep 2024 09:18:02 +0200 Subject: [PATCH] Fix missing ARCHIVE DESTINATION by also removing RUNTIME and LIBRARY --- msgs/yarp/thrift/CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/msgs/yarp/thrift/CMakeLists.txt b/msgs/yarp/thrift/CMakeLists.txt index 0b4630507..71b83b251 100644 --- a/msgs/yarp/thrift/CMakeLists.txt +++ b/msgs/yarp/thrift/CMakeLists.txt @@ -29,8 +29,6 @@ add_library(${PROJECT_NAME}::${LIBRARY_TARGET_NAME} ALIAS ${LIBRARY_TARGET_NAME} install(TARGETS ${LIBRARY_TARGET_NAME} EXPORT ${PROJECT_NAME} - RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" - LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" PUBLIC_HEADER DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/hde/msgs") @@ -63,8 +61,6 @@ add_library(${PROJECT_NAME}::${LIBRARY_TARGET_NAME} ALIAS ${LIBRARY_TARGET_NAME} install(TARGETS ${LIBRARY_TARGET_NAME} EXPORT ${PROJECT_NAME} - RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" - LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" PUBLIC_HEADER DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/hde/msgs") @@ -97,8 +93,6 @@ add_library(${PROJECT_NAME}::${LIBRARY_TARGET_NAME} ALIAS ${LIBRARY_TARGET_NAME} install(TARGETS ${LIBRARY_TARGET_NAME} EXPORT ${PROJECT_NAME} - RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" - LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" PUBLIC_HEADER DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/hde/msgs") set(LIBRARY_TARGET_NAME HumanWrenchMsg) @@ -129,6 +123,4 @@ add_library(${PROJECT_NAME}::${LIBRARY_TARGET_NAME} ALIAS ${LIBRARY_TARGET_NAME} install(TARGETS ${LIBRARY_TARGET_NAME} EXPORT ${PROJECT_NAME} - RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" - LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" PUBLIC_HEADER DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/hde/msgs")