From 880bcbd3aac3b8fdccde150eb76b71854c9c86c6 Mon Sep 17 00:00:00 2001 From: Scott Snyder <scott.snyder@cern.ch> Date: Tue, 28 Jan 2025 10:29:16 +0100 Subject: [PATCH] ONNXUtils: cmake fix ONNXUtils: cmake fix undefined/unneeded macro. --- PhysicsAnalysis/AnalysisCommon/ONNXUtils/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PhysicsAnalysis/AnalysisCommon/ONNXUtils/CMakeLists.txt b/PhysicsAnalysis/AnalysisCommon/ONNXUtils/CMakeLists.txt index 086b3621d110..969a20382d45 100644 --- a/PhysicsAnalysis/AnalysisCommon/ONNXUtils/CMakeLists.txt +++ b/PhysicsAnalysis/AnalysisCommon/ONNXUtils/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration +# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration # # This package is a collection of 'duel-use' tools to calculate # high-level flavor tagging discriminants. Because it should work both @@ -16,7 +16,7 @@ find_package( onnxruntime ) atlas_add_library( ONNXUtils Root/*cxx ONNXUtils/*h PUBLIC_HEADERS ONNXUtils INCLUDE_DIRS ${ONNXRUNTIME_INCLUDE_DIRS} - PRIVATE_LINK_LIBRARIES ${ROOT_LIBRARIES} PathResolver CxxUtils + PRIVATE_LINK_LIBRARIES PathResolver CxxUtils LINK_LIBRARIES ${ONNXRUNTIME_LIBRARIES} PathResolver ) -- GitLab