mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Previously, if the user had a CMake version below 3.1.3, we told them to set `-std` themselves. However, we are going to go to C99 soon (because of FAudio, see #869), and CentOS 7's CMake is too old to set `-std=` automatically, defaulting to C90. This is bad because it fails the CI. To work around this, we set `-std=` ourselves, but first we have to clear any existing `-std=` flag in C_FLAGS or CXX_FLAGS. Amusingly enough, MSVC does not have `/std:` switches for either C90 or C++98, so we just get to do nothing.
11 KiB
11 KiB