From 31a2fd93895d8d9a3666a857ebd73ae5a06a1bd1 Mon Sep 17 00:00:00 2001
From: Marko Petric <marko.petric@cern.ch>
Date: Mon, 28 Nov 2016 18:58:24 +0100
Subject: [PATCH] Fix capitalization of Rgl to RGL

---
 CMakeLists.txt             | 2 +-
 UtilityApps/CMakeLists.txt | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9339550cb..881d7c2d6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,7 +37,7 @@ dd4hep_configure_output( OUTPUT "${PROJECT_BINARY_DIR}" INSTALL "${CMAKE_INSTALL
 #
 # Include ROOT
 #
-find_package ( ROOT REQUIRED COMPONENTS Geom GenVector Eve Gui Graf3d Rgl)
+find_package ( ROOT REQUIRED COMPONENTS Geom GenVector Eve Gui Graf3d RGL)
 include(${ROOT_USE_FILE})
 message ( STATUS "ROOT_VERSION: ${ROOT_VERSION}" )
 add_subdirectory ( GaudiPluginService)
diff --git a/UtilityApps/CMakeLists.txt b/UtilityApps/CMakeLists.txt
index 31504ab28..95ef128e2 100644
--- a/UtilityApps/CMakeLists.txt
+++ b/UtilityApps/CMakeLists.txt
@@ -46,7 +46,7 @@ if ( ${DD4HEP_USE_LCIO} )
     SOURCES src/EvNavHandler.h
     LINKDEF src/LinkDef.h )
   dd4hep_add_executable( teveLCIO
-    USES           [ROOT REQUIRED COMPONENTS Eve Gui Graf3d Rgl]
+    USES           [ROOT REQUIRED COMPONENTS Eve Gui Graf3d RGL]
                    [LCIO REQUIRED]
                    DDRec
     GENERATED      G__eve1.cxx
@@ -56,7 +56,7 @@ endif()
 
 #-----------------------------------------------------------------------------------
 dd4hep_add_executable( teveDisplay
-  USES           [ROOT REQUIRED COMPONENTS Eve Gui Graf3d Rgl] DDRec
+  USES           [ROOT REQUIRED COMPONENTS Eve Gui Graf3d RGL] DDRec
   GENERATED      G__eve.cxx
   SOURCES        src/teve_display.cpp src/next_event_dummy.cpp
 )
-- 
GitLab