From 259318ded975e19dd8d65b979c156f19872ff607 Mon Sep 17 00:00:00 2001
From: scott snyder <sss@karma>
Date: Fri, 1 May 2020 16:28:19 +0200
Subject: [PATCH] AthViews: cmake fixes

Library dependency fixes.

Don't build the same objects into multiple libraries.
---
 Control/AthViews/CMakeLists.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Control/AthViews/CMakeLists.txt b/Control/AthViews/CMakeLists.txt
index 6714a6636c2..ed5b2aad306 100644
--- a/Control/AthViews/CMakeLists.txt
+++ b/Control/AthViews/CMakeLists.txt
@@ -31,7 +31,6 @@ atlas_add_library( AthViews
                    LINK_LIBRARIES ${TBB_LIBRARIES} AthenaBaseComps AthenaKernel StoreGateLib GaudiKernel CxxUtils AthLinks TrigSteeringEvent )
 
 atlas_add_component( AthViewsAlgs
-                   src/*.cxx
                    src/components/*.cxx
                    INCLUDE_DIRS ${TBB_INCLUDE_DIRS}
                    LINK_LIBRARIES AthViews )
@@ -40,7 +39,7 @@ atlas_add_component( AthViewsDFlow
                      src_dflow/*.cxx
                      src_dflow/components/*.cxx
                      INCLUDE_DIRS ${TBB_INCLUDE_DIRS}
-                     LINK_LIBRARIES AthViews )
+                     LINK_LIBRARIES AthViews AthExHiveLib )
 
 atlas_add_dictionary( AthViewsAlgsDict
                       AthViews/AthViewsWriteDict.h
-- 
GitLab