Skip to content

COMP: handle Shark dependency to openmp using REQUIRED_FLAGS

Guillaume Pasero requested to merge fix_openmp_activation into release-6.6

It is not possible to handle OpenMP as a ThirdParty module, because it is processed before any module in the main CMakeLists.txt. Instead, Shark must declare its dependencies via variables such as SHARK_REQUIRED_CXX_FLAGS and co.

The same thing is done for ITK.

Related to #1592 (closed)

Merge request reports