Mercurial > repo
view interps/cfunge/cfunge-src/cmake/modules/MacroAddLinkFlags.cmake @ 3968:e82654a7f372
<ais523\unfoog> addquote <kmc> Sgeo: oh yeah those animated characters were built into the operating system and there was an API for them
author | HackBot |
---|---|
date | Fri, 01 Nov 2013 03:30:15 +0000 |
parents | 859f9b4339e6 |
children |
line wrap: on
line source
# - MACRO_ADD_LINK_FLAGS(<_target> "flags...") # Copyright (c) 2006, Oswald Buddenhagen, <ossi@kde.org> # # Redistribution and use is allowed according to the terms of the BSD license. # For details see the accompanying COPYING-CMAKE-SCRIPTS file. MACRO (MACRO_ADD_LINK_FLAGS _target _flg) GET_TARGET_PROPERTY(_flags ${_target} LINK_FLAGS) if (_flags) set(_flags "${_flags} ${_flg}") else (_flags) set(_flags "${_flg}") endif (_flags) SET_TARGET_PROPERTIES(${_target} PROPERTIES LINK_FLAGS "${_flags}") ENDMACRO (MACRO_ADD_LINK_FLAGS)