[ABI, OpenMP] Problems with latest MSVC release
Recently I am experiencing some problems with CMake and Visual Studio generators.
On my computer I have installed CMake 3.10.2 and Visual Studio 15.5.5
The minor problem is that during the configuration, the "Detecting C compiler ABI info" and the "Detecting CXX compiler ABI info" both fail. This is not a major issue since anyway it works.
The real issue is if my CMakeLists.txt
contains a find_package(OpenMP)
, in which case the failure is inevitable, even if the package is not REQUIRED, with strage issues about a try_compile
not working as expected.
It is perfectly reproducible on all the computer on which I tried it.
Rolling back to older version of CMake or to the latest nightly build is ineffective.
Using the Ninja
generator fixes both problems, the ABI info are correctly detected (non-blocking problem) and OpenMP is correctly found (blocking issue), but I would like to use also MSBuild...