From 8aed02840922bb9e4a20efc6b167aa5faf3b65f2 Mon Sep 17 00:00:00 2001
From: bcouturi <ben.couturier@cern.ch>
Date: Mon, 21 Sep 2020 13:07:10 +0200
Subject: [PATCH] Added binary to the list of optional executables

Co-authored-by: Andre Sailer <andre.philippe.sailer@cern.ch>
---
 UtilityApps/CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/UtilityApps/CMakeLists.txt b/UtilityApps/CMakeLists.txt
index d68277a78..05c9e82bc 100644
--- a/UtilityApps/CMakeLists.txt
+++ b/UtilityApps/CMakeLists.txt
@@ -45,6 +45,7 @@ endif()
 if(TARGET ROOT::ROOTEve)
   add_executable(geoWebDisplay src/webdisplay.cpp)
   target_link_libraries(geoWebDisplay DD4hep::DDCore)
+  LIST(APPEND OPTIONAL_EXECUTABLES geoWebDisplay)
 endif()
 
 # #-----------------------------------------------------------------------------------
@@ -96,4 +97,4 @@ INSTALL(TARGETS geoDisplay
   ${OPTIONAL_EXECUTABLES}
   EXPORT DD4hep
   RUNTIME DESTINATION bin
-  )
\ No newline at end of file
+  )
-- 
GitLab