MSYS2: Fix build with -Werror

This commit is contained in:
João Valverde 2023-01-13 21:51:04 +00:00
parent dd601b1d8e
commit c8fe23575f
1 changed files with 1 additions and 1 deletions

View File

@ -3724,7 +3724,7 @@ if(CLEAN_C_FILES)
# the INCLUDE environment variable).
# This should apparently be handled for us via CMAKE_RC_FLAG_REGEX
# in CMakeRCInformation.cmake but that doesn't appear to work.
if(MSVC)
if(WIN32)
list(FILTER CLEAN_C_FILES EXCLUDE REGEX ".*\\.rc")
endif()