Author: jgardou Date: Sat Sep 3 18:16:15 2011 New Revision: 53555
URL: http://svn.reactos.org/svn/reactos?rev=53555&view=rev Log: [CMAKE] - remove add_compiler_flags_target function, Thomas was faster than me, and did something nicer
Modified: trunk/reactos/cmake/compilerflags.cmake
Modified: trunk/reactos/cmake/compilerflags.cmake URL: http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/compilerflags.cmake?r... ============================================================================== --- trunk/reactos/cmake/compilerflags.cmake [iso-8859-1] (original) +++ trunk/reactos/cmake/compilerflags.cmake [iso-8859-1] Sat Sep 3 18:16:15 2011 @@ -96,14 +96,3 @@ add_definitions(-DUNICODE -D_UNICODE) set(IS_UNICODE 1) endmacro() - -function(add_compiler_flags_target __module) - get_target_property(__flags ${__module} COMPILE_FLAGS) - if(NOT __flags) - set(__flags "") - endif() - foreach(flag ${ARGN}) - set(__flags "${__flags} ${flag}") - endforeach() - set_target_properties(${__module} PROPERTIES COMPILE_FLAGS ${__flags}) -endfunction()