[cig-commits] commit 1965 by bangerth to /var/svn/dealii/aspect

dealii.demon at gmail.com dealii.demon at gmail.com
Wed Oct 16 08:57:52 PDT 2013


Revision 1965

Be more specific about what is missing.

U   trunk/aspect/CMakeLists.txt


http://www.dealii.org/websvn/revision.php?repname=Aspect+Repository&path=%2F&rev=1965&peg=1965

Diff:
Modified: trunk/aspect/CMakeLists.txt
===================================================================
--- trunk/aspect/CMakeLists.txt	2013-10-16 15:43:10 UTC (rev 1964)
+++ trunk/aspect/CMakeLists.txt	2013-10-16 15:57:36 UTC (rev 1965)
@@ -25,6 +25,17 @@
   MESSAGE(FATAL_ERROR
     "
Aspect requires a deal.II installation built with support for Trilinos and p4est but one or both of these appears to be missing!
"
     )
+  IF(NOT DEAL_II_WITH_TRILINOS)
+    MESSAGE(FATAL_ERROR
+      "
-- deal.II was built without support for Trilinos!
"
+      )
+  ENDIF()
+
+  IF(NOT DEAL_II_WITH_P4EST)
+    MESSAGE(FATAL_ERROR
+      "
-- deal.II was built without support for p4est!
"
+      )
+  ENDIF()
 ENDIF()
 
 DEAL_II_INITIALIZE_CACHED_VARIABLES()


More information about the CIG-COMMITS mailing list