Unit Tests for modules sometimes need additional dependencies to other modules. The CMake macro MITK_CREATE_MODULE_TESTS() should be extended to allow to specify additionals dependencies.
Possible use cases include
- modules that create test data (too complicated to copy/paste into diverse tests)
- dummy backends to simulate database access for test drivers
The fix is a simple change to mitkMacroCreateModuleTest.cmake.