From 497444b67869f1ac4ace13554243e18c7cb4de33 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Thu, 4 Feb 2016 19:00:23 -0500 Subject: [PATCH] use correct version variables --- cmake/configure/configure_boost.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/configure/configure_boost.cmake b/cmake/configure/configure_boost.cmake index cc6dc845c8..1abebf9c86 100644 --- a/cmake/configure/configure_boost.cmake +++ b/cmake/configure/configure_boost.cmake @@ -57,7 +57,7 @@ MACRO(FEATURE_BOOST_FIND_EXTERNAL var) # Blacklist version 1.58 because we get serialization errors with it. At # least version 1.56 and 1.59 are known to work. # - IF("${Boost_MAJOR_VERSION}" STREQUAL "1" AND "${Boost_MINOR_VERSION}" STREQUAL "58") + IF("${BOOST_VERSION_MAJOR}" STREQUAL "1" AND "${BOOST_VERSION_MINOR}" STREQUAL "58") MESSAGE(STATUS "Boost version 1.58 is not compatible with deal.II!") SET(${var} FALSE) ENDIF() -- 2.39.5