Commit 74701113 authored by Jan Möbius's avatar Jan Möbius

Set target properties only if required

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7459 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 92cb195f
......@@ -75,10 +75,12 @@ acg_qt4_autouic (uic_targets ${ui})
acg_qt4_automoc (moc_targets ${headers})
acg_add_library (PluginLib SHARED ${uic_targets} ${sources} ${headers} ${moc_targets})
set_target_properties (
PluginLib PROPERTIES
COMPILE_FLAGS ${ADDITIONAL_PLUGINLIB_COMPILER_FLAGS}
)
if( ADDITIONAL_PLUGINLIB_COMPILER_FLAGS )
set_target_properties (
PluginLib PROPERTIES
COMPILE_FLAGS ${ADDITIONAL_PLUGINLIB_COMPILER_FLAGS}
)
endif()
set (trans_files ${sources})
list (APPEND trans_files ${ui})
......
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