The CMakeLists.txt file sets a bunch of compiler options without checking if the used compiler supports them.
This causes warnings and errors when using other/older compilers.
The script should check that the options actually are supported by the used compiler before activating them, or at worst, only add them if asked for by a specific option.
The CMakeLists.txt file sets a bunch of compiler options without checking if the used compiler supports them.
This causes warnings and errors when using other/older compilers.
The script should check that the options actually are supported by the used compiler before activating them, or at worst, only add them if asked for by a specific option.