SET_PROPERTY(TARGET ${_target} APPEND PROPERTY
INCLUDE_DIRECTORIES "${DEAL_II_INCLUDE_DIRS}"
)
- SET_PROPERTY(TARGET ${_target} APPEND PROPERTY
- LINK_FLAGS "${DEAL_II_LINKER_FLAGS}"
+ SET_PROPERTY(TARGET ${_target} APPEND_STRING PROPERTY
+ LINK_FLAGS " ${DEAL_II_LINKER_FLAGS}"
)
SET_PROPERTY(TARGET ${_target} APPEND PROPERTY
COMPILE_DEFINITIONS "${DEAL_II_USER_DEFINITIONS}"
ENDIF()
IF(_on_debug_build)
- SET_PROPERTY(TARGET ${_target} APPEND PROPERTY
- LINK_FLAGS "${DEAL_II_LINKER_FLAGS_DEBUG}"
+ SET_PROPERTY(TARGET ${_target} APPEND_STRING PROPERTY
+ LINK_FLAGS " ${DEAL_II_LINKER_FLAGS_DEBUG}"
)
SET_PROPERTY(TARGET ${_target} APPEND PROPERTY
COMPILE_DEFINITIONS "${DEAL_II_USER_DEFINITIONS_DEBUG}"
)
ELSE()
- SET_PROPERTY(TARGET ${_target} APPEND PROPERTY
- LINK_FLAGS "${DEAL_II_LINKER_FLAGS_RELEASE}"
+ SET_PROPERTY(TARGET ${_target} APPEND_STRING PROPERTY
+ LINK_FLAGS " ${DEAL_II_LINKER_FLAGS_RELEASE}"
)
SET_PROPERTY(TARGET ${_target} APPEND PROPERTY
COMPILE_DEFINITIONS "${DEAL_II_USER_DEFINITIONS_RELEASE}"