From: maier Date: Tue, 23 Oct 2012 23:18:21 +0000 (+0000) Subject: Bugfix X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ac1606cbd6d1ec8c31acc0a88b9ddc7fe6f0450;p=dealii-svn.git Bugfix git-svn-id: https://svn.dealii.org/branches/branch_cmake@27189 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-34/CMakeLists.txt b/deal.II/examples/step-34/CMakeLists.txt index d981357a3b..90b8092cc1 100644 --- a/deal.II/examples/step-34/CMakeLists.txt +++ b/deal.II/examples/step-34/CMakeLists.txt @@ -42,6 +42,17 @@ FIND_PACKAGE(deal.II 8.0 REQUIRED # "$ENV{HOME}/workspace/deal.II" ) +# +# Are all dependencies fullfilled? +# +IF(NOT DEAL_II_WITH_FUNCTIONPARSER) + MESSAGE(FATAL_ERROR " +Error! The deal.II library found at ${DEAL_II_PATH} was not configured with + DEAL_II_WITH_FUNCTIONPARSER = ON +which is required for this tutorial step." + ) +ENDIF() + DEAL_II_INITIALIZE_CACHED_VARIABLES() PROJECT(${TARGET}) DEAL_II_INVOKE_AUTOPILOT()