Page MenuHomePhabricator

MITK-Configure fails at MatchPointRegistration when MITK_USE_MatchPoint is OFF
Closed, ResolvedPublic

Description

In the CMakeLists.txt file of the MatchPointRegistration module a lot of custom stuff is happening even though MITK_USE_MatchPoint is set to OFF, i.e., the Variable ${MatchPoint_SOURCE_DIR} doesn't exists and CMake isn't able to include certain script files of MatchPoint. There is already a check for ${MITK_USE_MatchPoint} but its scope is too local. I'll replace it with a more general if(TARGET ${MODULE_TARGET}) condition at the right place.