From bc1f7e2e116583425269f68804c0d9a524a64fb4 Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Thu, 3 Nov 2022 13:13:49 +0100
Subject: [PATCH] examples:OpticalTracker: declare dependency on DDRec

---
 examples/OpticalTracker/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/OpticalTracker/CMakeLists.txt b/examples/OpticalTracker/CMakeLists.txt
index 7c5b04ebe..504d5bc43 100644
--- a/examples/OpticalTracker/CMakeLists.txt
+++ b/examples/OpticalTracker/CMakeLists.txt
@@ -34,7 +34,7 @@ dd4hep_configure_output()
 
 set(OpticalTracker_INSTALL ${CMAKE_INSTALL_PREFIX}/examples/OpticalTracker)
 dd4hep_add_plugin(OpticalTrackerExample SOURCES src/*.cpp
-  USES DD4hep::DDCore DD4hep::DDCond ROOT::Core ROOT::Geom ROOT::GenVector ROOT::MathCore)
+  USES DD4hep::DDCore DD4hep::DDRec DD4hep::DDCond ROOT::Core ROOT::Geom ROOT::GenVector ROOT::MathCore)
 install(TARGETS OpticalTrackerExample LIBRARY DESTINATION lib)
 install(DIRECTORY compact scripts DESTINATION ${OpticalTracker_INSTALL} )
 dd4hep_configure_scripts( OpticalTracker DEFAULT_SETUP WITH_TESTS)
-- 
GitLab