From 42c0f255f8accdb8b38a7817056b67fe1f45beee Mon Sep 17 00:00:00 2001
From: Frank Gaede <frank.gaede@desy.de>
Date: Tue, 14 May 2013 07:49:50 +0000
Subject: [PATCH]  - add utilities to install target

---
 DDExamples/UtilityApps/CMakeLists.txt | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/DDExamples/UtilityApps/CMakeLists.txt b/DDExamples/UtilityApps/CMakeLists.txt
index c93f580b2..6a98427b3 100644
--- a/DDExamples/UtilityApps/CMakeLists.txt
+++ b/DDExamples/UtilityApps/CMakeLists.txt
@@ -12,3 +12,12 @@ target_link_libraries(geoConverter DD4hepCore)
 #-----------------------------------------------------------------------------------
 add_executable(geoPluginRun src/plugin_runner.cpp)
 target_link_libraries(geoPluginRun DD4hepCore)
+
+#--- install target-------------------------------------
+
+install(TARGETS geoDisplay geoConverter geoPluginRun
+  RUNTIME DESTINATION bin
+  LIBRARY DESTINATION lib
+  )
+# to do: add corresponding uninstall...
+#-------------------------------------------------------
\ No newline at end of file
-- 
GitLab