# #
###########################################################################
-LIST(APPEND DEAL_II_MACROS
- ${CMAKE_INSTALL_PREFIX}/${DEAL_II_CMAKE_MACROS_RELDIR}/macro_deal_ii_initialize_cached_variables.cmake
- ${CMAKE_INSTALL_PREFIX}/${DEAL_II_CMAKE_MACROS_RELDIR}/macro_deal_ii_setup_target.cmake
- )
INSTALL(FILES
${CMAKE_SOURCE_DIR}/cmake/macros/macro_deal_ii_initialize_cached_variables.cmake
ENDIF()
ENDFOREACH()
-#
-# Include convenience macros directly at the end of our project config:
-#
-FILE(APPEND ${CMAKE_CURRENT_BINARY_DIR}/${DEAL_II_PROJECT_CONFIG_NAME}Config.cmake
- "\n\n#\n# Include some convenience macros directly in the project config:\n#\n\n"
- )
-FOREACH(var ${DEAL_II_MACROS})
- FILE(APPEND ${CMAKE_CURRENT_BINARY_DIR}/${DEAL_II_PROJECT_CONFIG_NAME}Config.cmake
- "INCLUDE(${var})\n"
- )
-ENDFOREACH()
-
-
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/ConfigVersion.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/${DEAL_II_PROJECT_CONFIG_NAME}ConfigVersion.cmake
# #
###########################################################################
+
IF(DEAL_II_COMPONENT_COMPAT_FILES)
#
# Transform some cmake lists into a string that the old Makefile
## ##
##########################################################################
-SET(DEAL_II_PROJECT_CONFIG_INCLUDED TRUE)
-
#
# General information
SET(DEAL_II_PROJECT_CONFIG_RELDIR "@DEAL_II_PROJECT_CONFIG_RELDIR@")
+#
+# Print a message after inclusion of this file:
+#
+
+SET(DEAL_II_PROJECT_CONFIG_INCLUDED TRUE)
+
+IF(NOT ${DEAL_II_PACKAGE_NAME}_FIND_QUIETLY)
+ MESSAGE(STATUS
+ "Using the ${DEAL_II_PACKAGE_NAME}-${DEAL_II_PACKAGE_VERSION} installation found at ${DEAL_II_PATH}"
+ )
+ENDIF()
+
+
+#
+# Include all convenience macros:
+#
+
+FILE(GLOB _macro_files
+ "${DEAL_II_PATH}/${DEAL_II_CMAKE_MACROS_RELDIR}/*.cmake"
+ )
+FOREACH(file ${_macro_files})
+ IF(NOT ${DEAL_II_PACKAGE_NAME}_FIND_QUIETLY)
+ MESSAGE(STATUS "Include macro ${file}")
+ ENDIF()
+ INCLUDE(${file})
+ENDFOREACH()
+
+
#
# Compiler and linker configuration
#