]> https://gitweb.dealii.org/ - dealii.git/commitdiff
use correct version variables
authorTimo Heister <timo.heister@gmail.com>
Fri, 5 Feb 2016 00:00:23 +0000 (19:00 -0500)
committerTimo Heister <timo.heister@gmail.com>
Fri, 5 Feb 2016 00:00:23 +0000 (19:00 -0500)
cmake/configure/configure_boost.cmake

index cc6dc845c89a2471609dabc5cecad98c8520870c..1abebf9c8669b09b71abce46c2d3b15881602a89 100644 (file)
@@ -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()

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.