"${CMAKE_INSTALL_PREFIX}/${DEAL_II_INCLUDE_RELDIR}"
)
-#
-# The base name:
-#
IF(CMAKE_BUILD_TYPE MATCHES "Debug")
SET(DEAL_II_BASE_NAME "deal_II.g")
+ SET(DEAL_II_PROJECT_NAME "deal.II.g")
ELSE()
SET(DEAL_II_BASE_NAME "deal_II")
+ SET(DEAL_II_PROJECT_NAME "deal.II")
ENDIF()
#
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/Config.cmake.in
- ${CMAKE_CURRENT_BINARY_DIR}/${DEAL_II_BASE_NAME}Config.cmake
+ ${CMAKE_CURRENT_BINARY_DIR}/${DEAL_II_PROJECT_NAME}Config.cmake
)
GET_CMAKE_PROPERTY(res VARIABLES)
FOREACH(var ${res})
IF(var MATCHES "DEAL_II_WITH")
- FILE(APPEND ${CMAKE_CURRENT_BINARY_DIR}/${DEAL_II_BASE_NAME}Config.cmake
+ FILE(APPEND ${CMAKE_CURRENT_BINARY_DIR}/${DEAL_II_PROJECT_NAME}Config.cmake
"SET(${var} ${${var}})\n"
)
ENDIF()
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/ConfigVersion.cmake.in
- ${CMAKE_CURRENT_BINARY_DIR}/${DEAL_II_BASE_NAME}ConfigVersion.cmake
+ ${CMAKE_CURRENT_BINARY_DIR}/${DEAL_II_PROJECT_NAME}ConfigVersion.cmake
@ONLY
)
INSTALL(FILES
- ${CMAKE_CURRENT_BINARY_DIR}/${DEAL_II_BASE_NAME}Config.cmake
- ${CMAKE_CURRENT_BINARY_DIR}/${DEAL_II_BASE_NAME}ConfigVersion.cmake
+ ${CMAKE_CURRENT_BINARY_DIR}/${DEAL_II_PROJECT_NAME}Config.cmake
+ ${CMAKE_CURRENT_BINARY_DIR}/${DEAL_II_PROJECT_NAME}ConfigVersion.cmake
DESTINATION ${DEAL_II_PROJECT_CONFIG_RELDIR}
COMPONENT project_config
)
# General information
#
+SET(DEAL_II_PROJECT_NAME "${DEAL_II_PROJECT_NAME}")
+
SET(DEAL_II_VERSION "${DEAL_II_MAJOR}.${DEAL_II_MINOR}")
SET(DEAL_II_MAJOR "${DEAL_II_MAJOR}")
SET(DEAL_II_MINOR "${DEAL_II_MINOR}")