mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 06:22:58 +00:00
[CMAKE]
- remove add_compiler_flags_target function, Thomas was faster than me, and did something nicer svn path=/trunk/; revision=53555
This commit is contained in:
parent
c9fe2fcba4
commit
fc0cfdeb05
1 changed files with 0 additions and 11 deletions
|
@ -96,14 +96,3 @@ macro(set_unicode)
|
||||||
add_definitions(-DUNICODE -D_UNICODE)
|
add_definitions(-DUNICODE -D_UNICODE)
|
||||||
set(IS_UNICODE 1)
|
set(IS_UNICODE 1)
|
||||||
endmacro()
|
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()
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue