diff --git a/Phys/JetAccessories/CMakeLists.txt b/Phys/JetAccessories/CMakeLists.txt index 439084d558765ac8afc9b3c1280b6f53f9648fe7..b335a55d59b1e4ca9ac1ec76468ca1b90b01a8fa 100644 --- a/Phys/JetAccessories/CMakeLists.txt +++ b/Phys/JetAccessories/CMakeLists.txt @@ -51,6 +51,7 @@ gaudi_add_module(JetAccessories LHCb::CaloUtils LHCb::DetDescLib LHCb::DigiEvent + LHCb::LHCbAlgsLib LHCb::LHCbKernel LHCb::LHCbMathLib LHCb::LoKiCoreLib diff --git a/Phys/LoKiAlgo/CMakeLists.txt b/Phys/LoKiAlgo/CMakeLists.txt index c2894adeec69296aa1934578da9e1bde8017da21..3302ddd5b39dfc1171e26e6e3a61bb7daf015132 100644 --- a/Phys/LoKiAlgo/CMakeLists.txt +++ b/Phys/LoKiAlgo/CMakeLists.txt @@ -29,6 +29,7 @@ gaudi_add_library(LoKiAlgo Gaudi::GaudiAlgLib Gaudi::GaudiKernel Gaudi::GaudiPythonLib + LHCb::DAQEventLib LHCb::LoKiCoreLib LHCb::PartPropLib LHCb::PhysEvent @@ -38,7 +39,6 @@ gaudi_add_library(LoKiAlgo Phys::DaVinciTypesLib Phys::LoKiPhysLib PRIVATE - LHCb::DAQEventLib LHCb::LHCbKernel ) diff --git a/cmake/PhysDependencies.cmake b/cmake/PhysDependencies.cmake index c4321aee1379993e75cf416f6fc3ba636697cbab..c7cfd080435249737e479aee2e3eef26940daceb 100644 --- a/cmake/PhysDependencies.cmake +++ b/cmake/PhysDependencies.cmake @@ -43,6 +43,7 @@ if(WITH_Phys_PRIVATE_DEPENDENCIES) find_package(CLHEP REQUIRED) find_package(FastJet REQUIRED) find_package(GSL REQUIRED) + find_package(Python REQUIRED Development Interpreter) find_package(ROOT 6.20 REQUIRED Core MathCore @@ -51,11 +52,6 @@ if(WITH_Phys_PRIVATE_DEPENDENCIES) ) find_package(VDT REQUIRED) - if(NOT TARGET Python::Python) - # FIXME we should look for Python from this project - message(FATAL_ERROR "target Python::Python missing (expected from LHCb)") - endif() - if(BUILD_TESTING) find_package(BLAS REQUIRED) endif()