More and more libraries use namespace notation for their targets like tinyxml2::tinyxml2, boost::headers, Qt5::Core, cpprestsdk::cpprest, or OpenSSL::SSL. It is not clear how they should be written in MITK's package dependency notation based on package names and component names. For some reason, Qt seems to work with Qt5|Core+Widgets for example, while all other examples above don't. The expected mix of both notations would be something like Boost|boost::headers which does not work. Same for Boost|headers. We have some workarounds in our code base like:
mitk_create_module(...) if(TARGET ${MODULE_TARGET}) target_link_libraries(${MODULE_TARGET} PUBLIC cpprestsdk::cpprest OpenSSL::SSL) endif()