# Configure and install the cmake project configuration:
#
-IF(NOT "${CONFIG_EXTERNAL_LIBRARIES}" STREQUAL "")
+IF(NOT "${DEAL_II_EXTERNAL_LIBRARIES}" STREQUAL "")
SET(CONFIG_EXTERNAL_LIBRARIES
general
${DEAL_II_EXTERNAL_LIBRARIES}
${DEAL_II_EXTERNAL_LIBRARIES}
${DEAL_II_EXTERNAL_LIBRARIES_DEBUG}
)
- LIST(APPEND CONFIG_EXTERNAL_LIBRARIES
- debug
- ${DEAL_II_EXTERNAL_LIBRARIES_DEBUG}
- )
+ IF(NOT "${DEAL_II_EXTERNAL_LIBRARIES_DEBUG}" STREQUAL "")
+ LIST(APPEND CONFIG_EXTERNAL_LIBRARIES
+ debug
+ ${DEAL_II_EXTERNAL_LIBRARIES_DEBUG}
+ )
+ ENDIF()
ENDIF()
IF(CMAKE_BUILD_TYPE MATCHES "Release")
${DEAL_II_EXTERNAL_LIBRARIES}
${DEAL_II_EXTERNAL_LIBRARIES_RELEASE}
)
- LIST(APPEND CONFIG_EXTERNAL_LIBRARIES
- optimized
- ${DEAL_II_EXTERNAL_LIBRARIES_RELEASE}
- )
+ IF(NOT "${DEAL_II_EXTERNAL_LIBRARIES_RELEASE}" STREQUAL "")
+ LIST(APPEND CONFIG_EXTERNAL_LIBRARIES
+ optimized
+ ${DEAL_II_EXTERNAL_LIBRARIES_RELEASE}
+ )
+ ENDIF()
ENDIF()
CONFIGURE_FILE(