From de3c48ed5418dfe1925f9b927efaecea9e48d48f Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Sun, 30 Jun 2024 21:44:17 +0200 Subject: [PATCH] Find MathCore from ROOT since it is being linked to later --- tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 308ac2f..a33d05b 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,3 +1,4 @@ +find_package(ROOT REQUIRED COMPONENTS MathCore) add_library(edmCompare SHARED src/CompareEDM4hepLCIO.cc src/ObjectMapping.cc src/CompareEDM4hepEDM4hep.cc) target_link_libraries(edmCompare PUBLIC EDM4HEP::edm4hep LCIO::lcio ROOT::MathCore) target_include_directories(edmCompare