"${DEAL_II_USER_DEFINITIONS_RELEASE}"
)
- TARGET_LINK_LIBRARIES(${target}
- debug
- ${DEAL_II_LIBRARIES_DEBUG}
- ${DEAL_II_EXTERNAL_LIBRARIES_DEBUG}
- optimized
- ${DEAL_II_LIBRARIES_RELEASE}
- ${DEAL_II_EXTERNAL_LIBRARIES_RELEASE}
- general
- ${DEAL_II_EXTERNAL_LIBRARIES}
- )
+ IF(NOT "${DEAL_II_LIBRARIES_DEBUG}${DEAL_II_EXTERNAL_LIBRARIES_DEBUG}" STREQUAL "")
+ TARGET_LINK_LIBRARIES(${target}
+ debug
+ ${DEAL_II_LIBRARIES_DEBUG}
+ ${DEAL_II_EXTERNAL_LIBRARIES_DEBUG}
+ )
+ ENDIF()
+
+ IF(NOT "${DEAL_II_LIBRARIES_RELEASE}${DEAL_II_EXTERNAL_LIBRARIES_RELEASE}" STREQUAL "")
+ TARGET_LINK_LIBRARIES(${target}
+ optimized
+ ${DEAL_II_LIBRARIES_RELEASE}
+ ${DEAL_II_EXTERNAL_LIBRARIES_RELEASE}
+ )
+ ENDIF()
+
+ IF(NOT "${DEAL_II_EXTERNAL_LIBRARIES}" STREQUAL "")
+ TARGET_LINK_LIBRARIES(${target}
+ general
+ ${DEAL_II_EXTERNAL_LIBRARIES}
+ )
+ ENDIF()
ENDMACRO()