Browse Source

Merge topic 'FindBoost-1.73' into release-3.17

69ed51960b FindBoost: Prevent warning with boost 1.73

Acked-by: Kitware Robot <[email protected]>
Merge-request: !4662
Brad King 5 years ago
parent
commit
ee1dd905c0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/FindBoost.cmake

+ 1 - 1
Modules/FindBoost.cmake

@@ -1175,7 +1175,7 @@ function(_Boost_COMPONENT_DEPENDENCIES component _ret)
       set(_Boost_TIMER_DEPENDENCIES chrono)
       set(_Boost_TIMER_DEPENDENCIES chrono)
       set(_Boost_WAVE_DEPENDENCIES filesystem serialization thread chrono date_time atomic)
       set(_Boost_WAVE_DEPENDENCIES filesystem serialization thread chrono date_time atomic)
       set(_Boost_WSERIALIZATION_DEPENDENCIES serialization)
       set(_Boost_WSERIALIZATION_DEPENDENCIES serialization)
-      if(NOT Boost_VERSION_STRING VERSION_LESS 1.73.0)
+      if(Boost_VERSION_STRING VERSION_GREATER_EQUAL 1.74.0)
         message(WARNING "New Boost version may have incorrect or missing dependencies and imported targets")
         message(WARNING "New Boost version may have incorrect or missing dependencies and imported targets")
       endif()
       endif()
     endif()
     endif()