Disable warnings as errors for Clang on Windows

This commit is contained in:
Chris Thrasher 2022-12-11 14:37:06 -07:00
parent fa2e61b9d5
commit 75b0c3a9a1

View File

@ -69,9 +69,8 @@ function(set_file_warnings)
${NON_ANDROID_CLANG_AND_GCC_WARNINGS} ${NON_ANDROID_CLANG_AND_GCC_WARNINGS}
) )
# For now if we're using MSVC-like clang interface on Windows # Disable warnings as errors when using Clang on Windows to work around deprecation warnings in Windows APIs
# we'll disable warnings as errors if(SFML_OS_WINDOWS AND (SFML_COMPILER_CLANG OR SFML_COMPILER_CLANG_CL))
if(SFML_OS_WINDOWS AND SFML_COMPILER_CLANG_CL)
set(WARNINGS_AS_ERRORS FALSE) set(WARNINGS_AS_ERRORS FALSE)
endif() endif()