From 18408cdb72e5fc7cdb8b90aa59432bbcd0a2db79 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Wed, 25 Oct 2017 21:53:10 +0200 Subject: [PATCH] Add extra guard fo BOOST setup --- cmake/configure/configure_boost.cmake | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 ) -- 2.39.5