[CMAKE] Use COMPILE_OPTIONS instead of superseded COMPILE_FLAGS

for set_source_files_properties().
This commit is contained in:
Serge Gautherie 2024-06-03 17:52:29 +02:00 committed by Timo Kreuzer
parent fbcbbd8768
commit 44662eaf62
10 changed files with 13 additions and 13 deletions

View file

@ -18,7 +18,7 @@ list(APPEND RTL_WINE_SOURCE
if(MSVC)
# Silence warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data
set_source_files_properties(${RTL_WINE_SOURCE} PROPERTIES COMPILE_FLAGS /wd4267)
set_source_files_properties(${RTL_WINE_SOURCE} PROPERTIES COMPILE_OPTIONS "/wd4267")
endif()
list(APPEND SOURCE