From a68abe6bf09df2bf8cfc8e755423423880e8687c Mon Sep 17 00:00:00 2001 From: Arne Naegel Date: Wed, 6 Oct 2021 17:12:00 +0200 Subject: [PATCH] Require at least boost 1.71 --- cmake/ug_includes.cmake | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmake/ug_includes.cmake b/cmake/ug_includes.cmake index e59aedd2d..d61121c3e 100644 --- a/cmake/ug_includes.cmake +++ b/cmake/ug_includes.cmake @@ -467,9 +467,11 @@ if(INTERNAL_BOOST) set(INTERNAL_BOOST_PATH ${UG_ROOT_PATH}/externals/BoostForUG4/) set(BOOST_ROOT ${INTERNAL_BOOST_PATH}) set(Boost_INCLUDE_DIRS ${INTERNAL_BOOST_PATH}) - message(STATUS "Info: Internal Boost ${Boost_ADDITIONAL_VERSIONS}") + set(Boost_MAJOR_VERSION 1) + set(Boost_MINOR_VERSION 71) + message(STATUS "Info: Internal Boost ${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}") else(INTERNAL_BOOST) - find_package(Boost 1.58 REQUIRED) # automatic detection + find_package(Boost 1.71 REQUIRED) # automatic detection if(Boost_FOUND) message(STATUS "Info: Found Boost ${Boost_VERSION} in <${Boost_INCLUDE_DIRS}>")