From 6f5b4b270ef9cfe041b3b6f15d78261ffb62e575 Mon Sep 17 00:00:00 2001
From: Marko Petric <marko.petric@cern.ch>
Date: Wed, 30 Nov 2016 09:35:07 +0100
Subject: [PATCH] Remove duplicate dd4hep_set_compiler_flags()

---
 examples/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index a4e14832d..fa5afd115 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -30,9 +30,9 @@ find_package ( DD4hep REQUIRED )
 include ( ${DD4hep_DIR}/cmake/DD4hep.cmake )
 include ( ${DD4hep_DIR}/cmake/DD4hepBuild.cmake )
 #
-dd4hep_set_compiler_flags()
-#
 find_package ( ROOT REQUIRED COMPONENTS Geom GenVector )
+include(${ROOT_USE_FILE})
+#
 dd4hep_set_compiler_flags()
 #
 dd4hep_configure_output()
-- 
GitLab