-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
I don't think the autocmake OpenMP module is playing nicely with modern Kitware OpenMP module.
In particular, when C/CXX/Fortran are active languages, if FindOpenMP finds flags & libs for C & CXX but not for Fortran, then OPENMP_FOUND
is False, so no flags get added to CMAKE__FLAGS in this section. But then Fortran does pick up flags in this section b/c empty from previous. So net result (cmake 3.9) is that only C/CXX openmp detected by kitware module, but only CMAKE_Fortran_FLAGS end up with any openmp flags after passing through autocmake_omp.
Metadata
Metadata
Assignees
Labels
No labels