DEAL_II_COMPONENT_DOCUMENTATION
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26609
0785d39b-7218-0410-832d-
ea1e28bc413d
# We use doxygen and dot:
#
IF(DOXYGEN_FOUND AND DOXYGEN_DOT_FOUND)
- # Disable doxygen for the moment
- # SET(${var} TRUE)
+ SET(${var} TRUE)
ENDIF()
ENDMACRO()
#
+#
+# Dependency check:
+# DEAL_II_COMPONENT_DOCUMENTATION needs DEAL_II_WITH_DOXYGEN.
+# 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"
+ )
+ENDIF()
+
+
+
#
# Append the saved initial (cached) variables ${flags}_SAVED at the end of
# ${flags}, see setup_cached_compiler_flags.cmake and the main
ENDFOREACH()
+
#
# And print out a nice configuration summary:
#
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams