Skip to content

FindOpenMP: New flag search logic

Christian Pfeiffer requested to merge ChrisTX/cmake:findopenmp-new-search into master

This MR refines the list of flags tried to include the right flag for NAG and Absoft compilers, and also sets a reasonable default set of flags to try. Additionally, the flag compilation for each flag and language pair is only tried once. On compilers not supporting OpenMP, this prevents needless recompilation upon every call to FindOpenMP.

Merge request reports

Loading