Skip to content
Snippets Groups Projects

Force use of BoostConfig.cmake as requested by CMake 3.30

Merged Marco Clemencic requested to merge marcocle/run2/use-boostconfig into run2-patches
1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
###############################################################################
# (c) Copyright 2000-2021 CERN for the benefit of the LHCb Collaboration #
# (c) Copyright 2000-2024 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
@@ -39,7 +39,7 @@ if(NOT COMMAND _gaudi_runtime_prepend)
endif()
find_package(AIDA REQUIRED)
find_package(Boost 1.62 REQUIRED
find_package(Boost CONFIG REQUIRED
container
headers
regex
@@ -76,7 +76,7 @@ lhcb_env(PRIVATE SET L0TCK ${TCK/L0TCK_ROOT_DIR}/options)
# -- Private dependencies
if(WITH_LHCb_PRIVATE_DEPENDENCIES)
find_package(Boost REQUIRED
find_package(Boost CONFIG REQUIRED
date_time
filesystem
iostreams
@@ -90,6 +90,6 @@ if(WITH_LHCb_PRIVATE_DEPENDENCIES)
)
if(BUILD_TESTING)
find_package(Boost REQUIRED unit_test_framework)
find_package(Boost CONFIG REQUIRED unit_test_framework)
endif()
endif()
Loading