As I tried to build the new module mitkInputDevices I configured my CmakeLists.txt like this (I used the CMakeList.txt from IGT as an example):
MITK_CREATE_MODULE(MitkInputDevices
INCLUDE_DIRS SpaceNavigator DEPENDS Mitk PROVIDES mitkInputDevices
)
You can see the name and the provides argument are not equal, because the first letter is one time upper and the other lower case. The result of this setting was that the module was neither included and nor could be linked. Furthermore there was no warning at all, while configuring the project with CMake.
The Problem was gone, when I did not use the provides macro or they both had the same name. But somehow the user should be informed with a warning or the provides macro be fixed.