mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00

- add_target_link_flags changed to target_link_options - add_target_property changed to set_property(... APPEND ...)
9 lines
395 B
CMake
9 lines
395 B
CMake
|
|
# remove_target_compile_options
|
|
# Remove one option from the target COMPILE_OPTIONS property,
|
|
# previously added through add_compile_options
|
|
function(remove_target_compile_option _module _option)
|
|
get_target_property(_options ${_module} COMPILE_OPTIONS)
|
|
list(REMOVE_ITEM _options ${_option})
|
|
set_target_properties(${_module} PROPERTIES COMPILE_OPTIONS "${_options}")
|
|
endfunction()
|