From cc5198c833d47a18c125dfc210367f1ccc552de0 Mon Sep 17 00:00:00 2001
From: Frank Gaede <frank.gaede@desy.de>
Date: Fri, 8 May 2015 15:50:07 +0000
Subject: [PATCH]  - added DDRec library to DDRecPlugins (needed on MAC)

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

diff --git a/DDRec/CMakeLists.txt b/DDRec/CMakeLists.txt
index e6a72ab95..35dd24d98 100644
--- a/DDRec/CMakeLists.txt
+++ b/DDRec/CMakeLists.txt
@@ -41,7 +41,7 @@ target_link_libraries(DDRec ${rec_link_libraries})
 # Add the DDRecPlugin, as there are currently only gear plugins, we need to check if we want to create the plugin
 if( plugin_sources )
   add_dd4hep_plugin(DDRecPlugins SHARED ${plugin_sources})
-  target_link_libraries(DDRecPlugins ${rec_link_libraries})
+  target_link_libraries(DDRecPlugins ${rec_link_libraries} DDRec)
 endif()
 
 
-- 
GitLab