From: Daniel Arndt Date: Wed, 25 Oct 2017 19:53:10 +0000 (+0200) Subject: Add extra guard fo BOOST setup X-Git-Tag: v9.0.0-rc1~871^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18408cdb72e5fc7cdb8b90aa59432bbcd0a2db79;p=dealii.git Add extra guard fo BOOST setup --- diff --git a/cmake/configure/configure_boost.cmake b/cmake/configure/configure_boost.cmake index 29ab0c1e5b..052b37b84a 100644 --- a/cmake/configure/configure_boost.cmake +++ b/cmake/configure/configure_boost.cmake @@ -17,6 +17,16 @@ # Configuration for the boost library: # +IF(NOT FEATURE_ZLIB_PROCESSED) + MESSAGE(FATAL_ERROR "\n" + "Internal build system error: The configuration of " + "DEAL_II_WITH_BOOST depends on " + "DEAL_II_WITH_ZLIB, but CONFIGURE_FEATURE(BOOST) " + "was called before CONFIGURE_FEATURE(ZLIB).\n\n" + ) +ENDIF() + + SET(DEAL_II_WITH_BOOST ON # Always true. We need it :-] CACHE BOOL "Build deal.II with support for boost." FORCE )