[CMAKE]
authorJérôme Gardou <jerome.gardou@reactos.org>
Sat, 3 Sep 2011 18:16:15 +0000 (18:16 +0000)
committerJérôme Gardou <jerome.gardou@reactos.org>
Sat, 3 Sep 2011 18:16:15 +0000 (18:16 +0000)
- remove add_compiler_flags_target function, Thomas was faster than me, and did something nicer

svn path=/trunk/; revision=53555

reactos/cmake/compilerflags.cmake

index 953bd3f..5d3ece6 100644 (file)
@@ -96,14 +96,3 @@ macro(set_unicode)
    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()