From ab7bff5b9da6c38b6b17011f0ba42c69574fb966 Mon Sep 17 00:00:00 2001
From: Frank Gaede <frank.gaede@desy.de>
Date: Wed, 15 May 2013 09:35:31 +0000
Subject: [PATCH]  - activate ILDExSimu (if LCIO and geant4 available)

---
 CMakeLists.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0707d3605..67a43c0b0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -60,7 +60,10 @@ endif()
 if(DD4HEP_WITH_GEANT4)
    add_subdirectory(DDExamples/CLICSiDSimu)
 endif()
-#   add_subdirectory(DDExamples/ILDExSimu)
+
+if(DD4HEP_WITH_GEANT4 AND DD4HEP_WITH_LCIO)
+   add_subdirectory(DDExamples/ILDExSimu)
+endif()
 
 #---Configuration-------------------------------------------------------------------
 configure_file(cmake/thisdd4hep.csh thisdd4hep.csh @ONLY)
-- 
GitLab