diff options
author | Brad King <brad.king@kitware.com> | 2020-07-10 10:42:35 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-07-10 10:42:43 (GMT) |
commit | 2e290682b8ad59727eba8310fb21d0e0782e20d5 (patch) | |
tree | b7af967aeccaf785a11b04e777aeafc37fb5ac38 /Modules | |
parent | 8e71d199dc6e07164cb8e86e7217ac4004d44476 (diff) | |
parent | 656d6ea8215eaff0c3097efd8b1473d3233568cd (diff) | |
download | CMake-2e290682b8ad59727eba8310fb21d0e0782e20d5.zip CMake-2e290682b8ad59727eba8310fb21d0e0782e20d5.tar.gz CMake-2e290682b8ad59727eba8310fb21d0e0782e20d5.tar.bz2 |
Merge topic 'FindOpenMP-version' into release-3.18
656d6ea821 FindOpenMP: Set version variables every time CMake runs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4996
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindOpenMP.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindOpenMP.cmake b/Modules/FindOpenMP.cmake index a4b1e1e..bb38e28 100644 --- a/Modules/FindOpenMP.cmake +++ b/Modules/FindOpenMP.cmake @@ -509,8 +509,8 @@ foreach(LANG IN LISTS OpenMP_FINDLIST) _OPENMP_GET_SPEC_DATE("${LANG}" OpenMP_${LANG}_SPEC_DATE_INTERNAL) set(OpenMP_${LANG}_SPEC_DATE "${OpenMP_${LANG}_SPEC_DATE_INTERNAL}" CACHE INTERNAL "${LANG} compiler's OpenMP specification date") - _OPENMP_SET_VERSION_BY_SPEC_DATE("${LANG}") endif() + _OPENMP_SET_VERSION_BY_SPEC_DATE("${LANG}") set(OpenMP_${LANG}_FIND_QUIETLY ${OpenMP_FIND_QUIETLY}) set(OpenMP_${LANG}_FIND_REQUIRED ${OpenMP_FIND_REQUIRED}) |