]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake/modules/FindBoost.cmake: fix Boost_NO_WARN_NEW_VERSIONS 62580/head
authorMatan Breizman <mbreizma@redhat.com>
Mon, 31 Mar 2025 14:27:40 +0000 (14:27 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Mon, 31 Mar 2025 14:27:40 +0000 (14:27 +0000)
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 <mbreizma@redhat.com>
cmake/modules/FindBoost.cmake

index e6d070e9a214d5bdb5230a931bd7246116e36a6b..633900522b4f090f82a22987f6b8e1ab3fbeaa7d 100644 (file)
@@ -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()