Merge branch 'findopenmp-found' into release-3.9

Merge-request: !1233
This commit is contained in:
Brad King
2017-09-05 09:54:55 -04:00
+2
View File
@@ -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 "")