From 3fca690c8764b81cc6c7594212194bd482147c6e Mon Sep 17 00:00:00 2001 From: maier Date: Sat, 22 Sep 2012 21:15:31 +0000 Subject: [PATCH] Bugfix. Autodetection + no external boost will fail badly git-svn-id: https://svn.dealii.org/branches/branch_cmake@26636 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/setup_finalize.cmake | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/deal.II/cmake/setup_finalize.cmake b/deal.II/cmake/setup_finalize.cmake index c10f32e9c3..fc606ca01d 100644 --- a/deal.II/cmake/setup_finalize.cmake +++ b/deal.II/cmake/setup_finalize.cmake @@ -5,14 +5,25 @@ # # Dependency check: -# DEAL_II_COMPONENT_DOCUMENTATION needs DEAL_II_WITH_DOXYGEN. +# +# - DEAL_II_COMPONENT_DOCUMENTATION needs DEAL_II_WITH_DOXYGEN. +# +# - DEAL_II_WITH_BOOST has to be enabled. +# # TODO: It is a bit sloppy to test this here. But this is the only # dependency of this kind atm. # IF(DEAL_II_COMPONENT_DOCUMENTATION AND NOT DEAL_II_WITH_DOXYGEN) MESSAGE(SEND_ERROR "\n" "DEAL_II_COMPONENT_DOCUMENTATION has unmet configuration requirements: " - "DEAL_II_WITH_DOXYGEN has to be set to \"ON\".\n\n" + "DEAL_II_WITH_DOXYGEN required, but set to OFF!\n\n" + ) +ENDIF() + +IF(NOT DEAL_II_WITH_BOOST) + MESSAGE(SEND_ERROR "\n" + "Unmet configuration requirements: " + "DEAL_II_WITH_BOOST required, but set to OFF!.\n\n" ) ENDIF() @@ -37,7 +48,7 @@ ENDFOREACH() MESSAGE(" * * * * -* * deal.II successfully configured! * * +* * deal.II configuration: * * * * * * -- 2.39.5