From 8d874d4e56f993472d5a4155b9ae437c9db3317c Mon Sep 17 00:00:00 2001
From: scott snyder <snyder@bnl.gov>
Date: Mon, 29 Jun 2020 17:35:18 +0200
Subject: [PATCH] JetRec: cmake fix

Dictionary also needs to link against mon_lib.
---
 Reconstruction/Jet/JetRec/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Reconstruction/Jet/JetRec/CMakeLists.txt b/Reconstruction/Jet/JetRec/CMakeLists.txt
index e85c9f87c0f..ff8000133ec 100644
--- a/Reconstruction/Jet/JetRec/CMakeLists.txt
+++ b/Reconstruction/Jet/JetRec/CMakeLists.txt
@@ -68,7 +68,7 @@ endif()
 atlas_add_dictionary( JetRecDict
    JetRec/JetRecDict.h
    JetRec/selection.xml
-   LINK_LIBRARIES JetRecLib )
+   LINK_LIBRARIES JetRecLib ${mon_lib} )
 
 # Test(s) in the package:
 atlas_add_test( TestTests
-- 
GitLab