From 69ed51960b8373a7176f30c3ed8035ac84a0986d Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Sat, 25 Apr 2020 22:04:32 +0300 Subject: FindBoost: Prevent warning with boost 1.73 In commit 9daf79c53b (FindBoost: Add support for Boost 1.73, 2020-04-19) we forgot to update the version comparison for the warning. --- Modules/FindBoost.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake index e1eff91..53fc4b7 100644 --- a/Modules/FindBoost.cmake +++ b/Modules/FindBoost.cmake @@ -1175,7 +1175,7 @@ function(_Boost_COMPONENT_DEPENDENCIES component _ret) set(_Boost_TIMER_DEPENDENCIES chrono) set(_Boost_WAVE_DEPENDENCIES filesystem serialization thread chrono date_time atomic) 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") endif() endif() -- cgit v0.12