We realised that in case a module has a missing dependency the function "mitk_create_module" does not provide any information, that the library will not be build.
Instead cmake complains at the target_link_libraries line, which is quite confusing.
If we remove the following if statement (in mitkFunctionCreateModule:230-232) and just print the message it gives us the expected warning. Seems MODULE_NO_FEATURE_INFO is never set.
if(MODULE_NO_FEATURE_INFO) message("${_Module_type} ${MODULE_NAME} won't be built, missing dependency: ${_MISSING_DEP}") endif()
Could you please check that? And maybe replace the warning with an error, because in my opinion should not proceed in this case.
Best regards