diff options
author | Brad King <brad.king@kitware.com> | 2017-09-06 14:47:28 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-09-06 14:47:31 (GMT) |
commit | e4a78435c162aea1ec4fa7c64b87e697947e8c24 (patch) | |
tree | 0733bf75d2651b39a94c7eb469f2a369dc394a13 /Modules/FindOpenMP.cmake | |
parent | faacd46d397b1236c4ddf0d3c46f9139f98b4109 (diff) | |
parent | 91fbda824708cd09bf7fb2a9bdcaea6791a9dffd (diff) | |
download | CMake-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.cmake | 2 |
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 "") |