FindOpenMP: Version detection broken with MSVC -openmp:experimental
The MSVC -openmp:experimental
flag defines _OPENMP
to 2019
instead of the normal year-and-month format like 200203
(as the plain -openmp
flag produces). The FindOpenMP module's version extraction and date-to-version mapping will need updating to handle a case that the user does specify -openmp:experimental
in OpenMP_{C,CXX}_FLAGS
.