Skip to content

Commit a68abe6

Browse files
committed
Require at least boost 1.71
1 parent df16c21 commit a68abe6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cmake/ug_includes.cmake

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,9 +467,11 @@ if(INTERNAL_BOOST)
467467
set(INTERNAL_BOOST_PATH ${UG_ROOT_PATH}/externals/BoostForUG4/)
468468
set(BOOST_ROOT ${INTERNAL_BOOST_PATH})
469469
set(Boost_INCLUDE_DIRS ${INTERNAL_BOOST_PATH})
470-
message(STATUS "Info: Internal Boost ${Boost_ADDITIONAL_VERSIONS}")
470+
set(Boost_MAJOR_VERSION 1)
471+
set(Boost_MINOR_VERSION 71)
472+
message(STATUS "Info: Internal Boost ${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}")
471473
else(INTERNAL_BOOST)
472-
find_package(Boost 1.58 REQUIRED) # automatic detection
474+
find_package(Boost 1.71 REQUIRED) # automatic detection
473475

474476
if(Boost_FOUND)
475477
message(STATUS "Info: Found Boost ${Boost_VERSION} in <${Boost_INCLUDE_DIRS}>")

0 commit comments

Comments
 (0)