summaryrefslogtreecommitdiffstats
path: root/Modules/FindOpenMP.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-09-06 14:47:28 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-09-06 14:47:31 (GMT)
commite4a78435c162aea1ec4fa7c64b87e697947e8c24 (patch)
tree0733bf75d2651b39a94c7eb469f2a369dc394a13 /Modules/FindOpenMP.cmake
parentfaacd46d397b1236c4ddf0d3c46f9139f98b4109 (diff)
parent91fbda824708cd09bf7fb2a9bdcaea6791a9dffd (diff)
downloadCMake-e4a78435c162aea1ec4fa7c64b87e697947e8c24.zip
CMake-e4a78435c162aea1ec4fa7c64b87e697947e8c24.tar.gz
CMake-e4a78435c162aea1ec4fa7c64b87e697947e8c24.tar.bz2
Merge topic 'findopenmp-found'
91fbda82 FindOpenMP: Restore OpenMP_FOUND result variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1233
Diffstat (limited to 'Modules/FindOpenMP.cmake')
-rw-r--r--Modules/FindOpenMP.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindOpenMP.cmake b/Modules/FindOpenMP.cmake
index 7566e4a..8e9ce7a 100644
--- a/Modules/FindOpenMP.cmake
+++ b/Modules/FindOpenMP.cmake
@@ -430,6 +430,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 "")