Bisher:
mitk_create_module(
DEPENDS MitkCore MitkCLCore MitkCommandLine PACKAGE_DEPENDS PUBLIC Eigen OpenMP|OpenMP_CXX
)
Jetzt:
mitk_create_module(
DEPENDS MitkCore MitkCLCore MitkCommandLine PACKAGE_DEPENDS PUBLIC Eigen
)
if(TARGET ${MODULE_TARGET} AND MITK_USE_OpenMP)
target_link_libraries(${MODULE_TARGET} PUBLIC OpenMP::OpenMP_CXX)
endif()