summaryrefslogtreecommitdiffstats
path: root/cmakemodules/MacroAddLinkFlags.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmakemodules/MacroAddLinkFlags.cmake')
-rw-r--r--cmakemodules/MacroAddLinkFlags.cmake18
1 files changed, 0 insertions, 18 deletions
diff --git a/cmakemodules/MacroAddLinkFlags.cmake b/cmakemodules/MacroAddLinkFlags.cmake
deleted file mode 100644
index a10d39e..0000000
--- a/cmakemodules/MacroAddLinkFlags.cmake
+++ /dev/null
@@ -1,18 +0,0 @@
-# - 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)