mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 10:53:15 +00:00
![Victor Perevertkin](/assets/img/avatar_default.png)
- add_target_link_flags changed to target_link_options - add_target_property changed to set_property(... APPEND ...)
10 lines
395 B
CMake
10 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()
|