mirror of
https://github.com/reactos/reactos.git
synced 2025-08-09 07:53:00 +00:00
[CMAKE] Get rid of replace_compile_flags
Introduce a finer-grained remove_target_compile_option instead
This commit is contained in:
parent
b52fa999eb
commit
7e116f0ef3
27 changed files with 138 additions and 144 deletions
|
@ -87,8 +87,8 @@ if(USE_CLANG_CL OR (NOT MSVC))
|
|||
endif()
|
||||
else()
|
||||
#disable warnings: "unreferenced local variable", "initialized, but not used variable", "benign include"
|
||||
replace_compile_flags("/we4101" " ")
|
||||
replace_compile_flags("/we4189" " ")
|
||||
remove_target_compile_option(reiserfs "/we4101")
|
||||
remove_target_compile_option(reiserfs "/we4189")
|
||||
target_compile_options(reiserfs PRIVATE /wd4189 /wd4142 /wd4101)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue