Commit f6d7d6f2 authored by Hans-Christian Ebke's avatar Hans-Christian Ebke

Fixed bad handling of multiple CFLAGSADD values.


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@20470 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 0bc9541c
......@@ -584,9 +584,11 @@ function (_build_openflipper_plugin plugin)
list(APPEND ${_PLUGIN}_DEPS_COMPILE_DEFINITIONS ${${_PLUGIN}_CDEFINITIONSADD} )
string(REPLACE ";" " " ${_PLUGIN}_CFLAGSADD_STR "${${_PLUGIN}_CFLAGSADD}")
set_target_properties (
Plugin-${plugin} PROPERTIES
COMPILE_FLAGS "${${_PLUGIN}_CFLAGSADD} ${${_PLUGIN}_LICENSE_DEFS} ${${_PLUGIN}_DEPS_COMPILER_FLAGS}"
COMPILE_FLAGS "${${_PLUGIN}_CFLAGSADD_STR} ${${_PLUGIN}_LICENSE_DEFS} ${${_PLUGIN}_DEPS_COMPILER_FLAGS}"
COMPILE_DEFINITIONS "${${_PLUGIN}_DEPS_COMPILE_DEFINITIONS}"
LINK_FLAGS "${${_PLUGIN}_LDFLAGSADD} ${${_PLUGIN}_DEPS_LINKER_FLAGS}"
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment