From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Mon, 1 Nov 2021 13:10:36 +0100
Subject: Do not export tools with library config

Forwarded: not-needed
---
 iceoryx_posh/CMakeLists.txt        | 3 ++-
 tools/introspection/CMakeLists.txt | 4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/iceoryx_posh/CMakeLists.txt b/iceoryx_posh/CMakeLists.txt
index a2bb80c..725f67a 100644
--- a/iceoryx_posh/CMakeLists.txt
+++ b/iceoryx_posh/CMakeLists.txt
@@ -389,7 +389,8 @@ endif()
 ########## exporting library ##########
 #
 if(TOML_CONFIG)
-    set(ROUDI_EXPORT iceoryx_posh_config iox-roudi)
+    set(ROUDI_EXPORT iceoryx_posh_config)
+    install(TARGETS iox-roudi DESTINATION ${DESTINATION_BINDIR} COMPONENT bin)
 endif()
 
 setup_install_directories_and_export_package(
diff --git a/tools/introspection/CMakeLists.txt b/tools/introspection/CMakeLists.txt
index c393e40..9fb9d38 100644
--- a/tools/introspection/CMakeLists.txt
+++ b/tools/introspection/CMakeLists.txt
@@ -117,8 +117,10 @@ target_compile_options(iox-introspection-client PRIVATE ${ICEORYX_WARNINGS} ${IC
 #
 ########## exporting library ##########
 #
+install(TARGETS iox-introspection-client DESTINATION ${DESTINATION_BINDIR} COMPONENT bin)
+
 setup_install_directories_and_export_package(
-    TARGETS iceoryx_introspection iox-introspection-client
+    TARGETS iceoryx_introspection
     INCLUDE_DIRECTORY include/
 )
 
