mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 14:21:04 +08:00
3301c47755
These overrides existed to prevent MSVC errors related to duplicate compiler warnings. Because we required a version of CMake older 3.15, CMake would add /W3 as a default compiler flag when using MSVC. We then add /W4 in addition to that. Modern CMake versions seem to deduplicate these warnings but older versions did not. The easist fix is to raise the minimum CMake version to 3.15 which changes the default behavior to no longer add /W3 without being explicitly specified. See the below link for more information about this behavior change. https://cmake.org/cmake/help/latest/policy/CMP0092.html |
||
---|---|---|
.. | ||
Modules | ||
toolchains | ||
CompilerWarnings.cmake | ||
Config.cmake | ||
Macros.cmake | ||
SFMLConfig.cmake.in | ||
SFMLConfigDependencies.cmake.in |