Use SFML 2.6's set of compiler warnings

Some minor tweaks were made to remove Android-specific workarounds
that CSFML doesn't need and removing a few warnings that are not
feasible to fix at the moment.
This commit is contained in:
Chris Thrasher committed 2023-07-08 11:01:11 -06:00
1 parent e8776bc80d
commit d536b3d2cc
13 files changed
+132 -20

No files matched your search

+4
View File
@@ -46,6 +46,10 @@ endif()
# - GNUCXX can still be set on macOS when using Clang
if(MSVC)
set(SFML_COMPILER_MSVC 1)
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set(SFML_COMPILER_CLANG_CL 1)
endif()
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set(SFML_COMPILER_CLANG 1)