summaryrefslogtreecommitdiffstats
path: root/Modules/FindBoost.cmake
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2020-04-25 19:04:32 (GMT)
committerBrad King <brad.king@kitware.com>2020-04-27 18:34:02 (GMT)
commit69ed51960b8373a7176f30c3ed8035ac84a0986d (patch)
treefa1ac8c01e8febcec32de9aa23080111b023427f /Modules/FindBoost.cmake
parent4a5de69e09d83fa8151df43abb8e58ece2bb29de (diff)
downloadCMake-69ed51960b8373a7176f30c3ed8035ac84a0986d.zip
CMake-69ed51960b8373a7176f30c3ed8035ac84a0986d.tar.gz
CMake-69ed51960b8373a7176f30c3ed8035ac84a0986d.tar.bz2
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.
Diffstat (limited to 'Modules/FindBoost.cmake')
-rw-r--r--Modules/FindBoost.cmake2
1 files changed, 1 insertions, 1 deletions
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()