From 7b2987efde09b36acbf3954bc3c7914e42211ea2 Mon Sep 17 00:00:00 2001
From: Andreas Salzburger <Andreas.Salzburger@cern.ch>
Date: Tue, 5 Nov 2019 10:16:14 +0100
Subject: [PATCH] fixing linking Errors on macOS

---
 Detectors/DD4hepDetector/CMakeLists.txt | 2 +-
 Plugins/Csv/CMakeLists.txt              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Detectors/DD4hepDetector/CMakeLists.txt b/Detectors/DD4hepDetector/CMakeLists.txt
index d1c2d5187..52565e3b3 100644
--- a/Detectors/DD4hepDetector/CMakeLists.txt
+++ b/Detectors/DD4hepDetector/CMakeLists.txt
@@ -28,7 +28,7 @@ target_include_directories(
 target_link_libraries(
   ACTFWDD4hepDetector
   PUBLIC ACTFramework ActsCore ActsDigitizationPlugin ActsDD4hepPlugin
-    ACTFWDetectorsCommon ROOT::Geom ${DD4hep_LIBRARIES})
+    ACTFWDetectorsCommon ROOT::Geom ROOT::GenVector ${DD4hep_LIBRARIES})
 
 # not sure why this needs to be set, but dd4hep fails to compile otherwise
 set(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
diff --git a/Plugins/Csv/CMakeLists.txt b/Plugins/Csv/CMakeLists.txt
index b8b2c6a26..8e1edf02b 100644
--- a/Plugins/Csv/CMakeLists.txt
+++ b/Plugins/Csv/CMakeLists.txt
@@ -13,7 +13,7 @@ target_include_directories(
 target_link_libraries(
   ACTFWCsvPlugin
   PRIVATE ACTFramework ActsCore ActsDigitizationPlugin IdentificationPlugin
-    Threads::Threads dfelibs)
+    Threads::Threads Boost::program_options dfelibs)
 
 install(
   TARGETS ACTFWCsvPlugin
-- 
GitLab