mirror of
https://github.com/reactos/reactos.git
synced 2025-06-25 20:10:04 +00:00
[CMAKE] Get rid of add_compile_flags
Use add_compile_options and the like instead
This commit is contained in:
parent
84621b3634
commit
00ed72d7e8
26 changed files with 158 additions and 198 deletions
|
@ -12,11 +12,10 @@ if(MSVC)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
# Disable warning " unary minus operator applied to unsigned type, result still unsigned"
|
||||
add_compile_flags("/wd4146")
|
||||
|
||||
# Disable warning "'=': conversion from 'a' to 'b', possible loss of data"
|
||||
add_compile_flags("/wd4244")
|
||||
# Disable warnings
|
||||
add_compile_options(
|
||||
/wd4146 # " unary minus operator applied to unsigned type, result still unsigned"
|
||||
/wd4244) # "'=': conversion from 'a' to 'b', possible loss of data"
|
||||
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue