Fix a race condition.
ui_alarmtyperadiowidget.h is generated by ki18_wrap_ui but needed by two different targets. This can cause build errors. To fix that, we're now using the 'OBJECT' library type introduced in CMake 3.1. This way, we're sure the generated file exists before building the kalarm resource and the kalarmconfig plugin.
Showing with 9 additions and 2 deletions