Commit 91fbda82 authored by Christian Pfeiffer's avatar Christian Pfeiffer Committed by Brad King
Browse files

FindOpenMP: Restore OpenMP_FOUND result variable

The overhaul in commit v3.9.0-rc1~207^2~1 (FindOpenMP: Complete
overhaul, 2017-04-24) documented this variable but accidentally left it
unset.

Fixes: #17251
parent fca44237
......@@ -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 "")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment