Fix Windows oneAPI build
Fixes the compilation with Windows version of IntelLLVM (clang-cl.exe).
In "Intel oneAPI command prompt for Intel 64 for Visual Studio 2019" console:
cmake .. -GNinja -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl
-
clang-cl.exe
does not support-fno-finite-math-only
, which leads to very strange errors. - CMake before 3.21 does not properly set /Qstd:c++17 flag.
- muParser fails to compile, with some included headers from the c++ standard library using auto-returning functions. See no hard in changing to C++14 in all configurations, not only Windows + IntelLLVM.
Refs #4041 (closed)