From d19da9a5cc87080aa8ce915650c56a7926ec5e27 Mon Sep 17 00:00:00 2001 From: Eran Date: Fri, 13 Oct 2023 12:22:15 +0300 Subject: [PATCH] remove EXPORT --- common/fw/CMakeLists.txt | 2 +- third-party/realdds/CMakeLists.txt | 1 - third-party/realsense-file/CMakeLists.txt | 1 - third-party/rsutils/CMakeLists.txt | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/common/fw/CMakeLists.txt b/common/fw/CMakeLists.txt index a1deacdc46a..c1904b278a9 100644 --- a/common/fw/CMakeLists.txt +++ b/common/fw/CMakeLists.txt @@ -68,6 +68,6 @@ endfunction() target_binary( "${D4XX_FW_URL}" "${D4XX_FW_VERSION}" "${D4XX_FW_SHA1}" D4XX_FW_Image .bin) -install(TARGETS ${PROJECT_NAME} EXPORT realsense2Targets +install(TARGETS ${PROJECT_NAME} EXCLUDE_FROM_ALL ) diff --git a/third-party/realdds/CMakeLists.txt b/third-party/realdds/CMakeLists.txt index aa2c47f2fcc..5afc0292506 100644 --- a/third-party/realdds/CMakeLists.txt +++ b/third-party/realdds/CMakeLists.txt @@ -49,7 +49,6 @@ source_group( # Install ----------------------------------------------------------------------------------- # install( TARGETS ${PROJECT_NAME} - EXPORT realsense2Targets EXCLUDE_FROM_ALL ) diff --git a/third-party/realsense-file/CMakeLists.txt b/third-party/realsense-file/CMakeLists.txt index 96efefd288d..5f3aac97b1a 100644 --- a/third-party/realsense-file/CMakeLists.txt +++ b/third-party/realsense-file/CMakeLists.txt @@ -39,6 +39,5 @@ set_target_properties (${PROJECT_NAME} PROPERTIES FOLDER Library) set(CMAKECONFIG_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/../cmake/realsense2") install(TARGETS ${PROJECT_NAME} - EXPORT realsense2Targets EXCLUDE_FROM_ALL ) diff --git a/third-party/rsutils/CMakeLists.txt b/third-party/rsutils/CMakeLists.txt index 1a57ee5dc9c..1d46885cf21 100644 --- a/third-party/rsutils/CMakeLists.txt +++ b/third-party/rsutils/CMakeLists.txt @@ -91,7 +91,6 @@ _using_easyloggingpp( ${UTILITIES_INCLUDE_DIR} ) # Install ----------------------------------------------------------------------------------- # install( TARGETS ${PROJECT_NAME} - EXPORT realsense2Targets EXCLUDE_FROM_ALL )