[OpenMP][CMake] Fix version detection of testing compiler
authorJonas Hahnfeld <hahnjo@hahnjo.de>
Thu, 2 Jul 2020 17:34:03 +0000 (19:34 +0200)
committerJonas Hahnfeld <hahnjo@hahnjo.de>
Thu, 2 Jul 2020 17:39:30 +0000 (19:39 +0200)
commit0e0483bf5c383d5815b9f945fea7e347d4badc0e
tree123e137655f228d3714c5e984439fabf8ca7a055
parent16989f6f5c69a62eb78c1ab297f64c8182d7604a
[OpenMP][CMake] Fix version detection of testing compiler

When configuring in-tree, the correct names are LLVM_VERSION_MAJOR
and LLVM_VERSION_MINOR. This has been wrong since the code was added
in commits fc473dee98 and 821649229e.
openmp/cmake/OpenMPTesting.cmake