From 177abb3e30d43e330b17a4f533520f242eea3efc Mon Sep 17 00:00:00 2001 From: Jonas Rembser Date: Wed, 18 Dec 2024 03:43:06 +0100 Subject: [PATCH] Enable config mode serach procedure for FindBoost in CMakeLists.txt This avoids the following warning at configuration time: ``` CMake Warning (dev) at CMakeLists.txt:20 (find_package): Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. ``` --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 930d94e6aec..7f3b3e7d2e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,7 @@ find_package(ROOT REQUIRED COMPONENTS MathMore RooFitCore RooFit RooStats HistFa find_package(Eigen3 REQUIRED) find_package(Vdt) find_package(LCG QUIET) # only used for FindBoost in StatAnalysis -find_package( Boost REQUIRED COMPONENTS program_options filesystem ) +find_package(Boost REQUIRED COMPONENTS program_options filesystem) message(STATUS "Using ROOT From: ${ROOT_INCLUDE_DIRS}") include(${ROOT_USE_FILE})