summaryrefslogtreecommitdiffstats
path: root/Modules/FindOpenMP.cmake
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2019-12-09 14:27:30 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2020-01-14 22:25:49 (GMT)
commitbe4d1bdf9ab25cfd8c5837bbf5de3c20e3b75959 (patch)
tree21aa9d2293c10d4cfff53b971c49768cf8a95589 /Modules/FindOpenMP.cmake
parentee4673c1ae1e4a1aa4687412717567c2ffbb501b (diff)
downloadCMake-be4d1bdf9ab25cfd8c5837bbf5de3c20e3b75959.zip
CMake-be4d1bdf9ab25cfd8c5837bbf5de3c20e3b75959.tar.gz
CMake-be4d1bdf9ab25cfd8c5837bbf5de3c20e3b75959.tar.bz2
FPHSA: acknowledge the name mismatches in CMake-owned modules
Diffstat (limited to 'Modules/FindOpenMP.cmake')
-rw-r--r--Modules/FindOpenMP.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindOpenMP.cmake b/Modules/FindOpenMP.cmake
index 90d1c3e..26fed41 100644
--- a/Modules/FindOpenMP.cmake
+++ b/Modules/FindOpenMP.cmake
@@ -509,6 +509,7 @@ foreach(LANG IN LISTS OpenMP_FINDLIST)
endif()
find_package_handle_standard_args(OpenMP_${LANG}
+ NAME_MISMATCHED
REQUIRED_VARS OpenMP_${LANG}_FLAGS ${_OPENMP_${LANG}_REQUIRED_LIB_VARS}
VERSION_VAR OpenMP_${LANG}_VERSION
)