diff options
author | Brad King <brad.king@kitware.com> | 2017-09-05 13:54:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-09-05 13:54:55 (GMT) |
commit | 741eca9c6ca23258286e074355938fca16702765 (patch) | |
tree | df6850ce3f61ba457f147a46ad54fad5f48114f2 | |
parent | 2ce84615f14db7d40a7a96f86ec0a8ae86eb81fa (diff) | |
parent | 91fbda824708cd09bf7fb2a9bdcaea6791a9dffd (diff) | |
download | CMake-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.cmake | 2 |
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 "") |