summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-09-05 13:54:55 (GMT)
committerBrad King <brad.king@kitware.com>2017-09-05 13:54:55 (GMT)
commit741eca9c6ca23258286e074355938fca16702765 (patch)
treedf6850ce3f61ba457f147a46ad54fad5f48114f2
parent2ce84615f14db7d40a7a96f86ec0a8ae86eb81fa (diff)
parent91fbda824708cd09bf7fb2a9bdcaea6791a9dffd (diff)
downloadCMake-741eca9c6ca23258286e074355938fca16702765.zip
CMake-741eca9c6ca23258286e074355938fca16702765.tar.gz
CMake-741eca9c6ca23258286e074355938fca16702765.tar.bz2
Merge branch 'findopenmp-found' into release-3.9
Merge-request: !1233
-rw-r--r--Modules/FindOpenMP.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindOpenMP.cmake b/Modules/FindOpenMP.cmake
index 1093be0..ee74a1a 100644
--- a/Modules/FindOpenMP.cmake
+++ b/Modules/FindOpenMP.cmake
@@ -429,6 +429,8 @@ foreach(LANG IN ITEMS C CXX Fortran)
endif()
endforeach()
+set(OpenMP_FOUND ${OPENMP_FOUND})
+
if(CMAKE_Fortran_COMPILER_LOADED AND OpenMP_Fortran_FOUND)
if(NOT DEFINED OpenMP_Fortran_HAVE_OMPLIB_MODULE)
set(OpenMP_Fortran_HAVE_OMPLIB_MODULE FALSE CACHE BOOL INTERNAL "")