mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Disable warnings as errors for Clang on Windows
This commit is contained in:
parent
fa2e61b9d5
commit
75b0c3a9a1
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user