When compiling with Visual Studio (msvc) warnings are treated as errors which is making compilation fail pretty quickly since with /W3 level there is quite a bunch of warnings (setting CMAKE_COMPILE_WARNING_AS_ERROR doesn't fix the problem ¯\_ (ツ)_/¯ ).
It's also not mimicking gcc, clang and icc side, there the flag -Werror is not set.
For "homogeneity" could the /WX be removed or commented out in the MSVC block currently here in the code ?
And if someone has a suggestion to avoid having to fix the CMakelist.txt manually please comment.
Thank you !