From 9cb8a4d147726e7e4a1fe94651b576479f9c16ab Mon Sep 17 00:00:00 2001 From: Matan Breizman Date: Mon, 31 Mar 2025 14:27:40 +0000 Subject: [PATCH] cmake/modules/FindBoost.cmake: fix Boost_NO_WARN_NEW_VERSIONS https://github.com/ceph/ceph/pull/61084 bumped up the version used to 1.87. The warning should be for 1.88, same as it was 1.86 when we used 1.85. Fixes: https://tracker.ceph.com/issues/70725 Signed-off-by: Matan Breizman --- cmake/modules/FindBoost.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/FindBoost.cmake b/cmake/modules/FindBoost.cmake index e6d070e9a214d..633900522b4f0 100644 --- a/cmake/modules/FindBoost.cmake +++ b/cmake/modules/FindBoost.cmake @@ -1409,7 +1409,7 @@ function(_Boost_COMPONENT_DEPENDENCIES component _ret) set(_Boost_THREAD_DEPENDENCIES chrono atomic) set(_Boost_WAVE_DEPENDENCIES filesystem serialization thread chrono atomic) set(_Boost_WSERIALIZATION_DEPENDENCIES serialization) - if(Boost_VERSION_STRING VERSION_GREATER_EQUAL 1.87.0 AND NOT Boost_NO_WARN_NEW_VERSIONS) + if(Boost_VERSION_STRING VERSION_GREATER_EQUAL 1.88.0 AND NOT Boost_NO_WARN_NEW_VERSIONS) message(WARNING "New Boost version may have incorrect or missing dependencies and imported targets") endif() endif() -- 2.39.5