X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=gui%2FCMakeLists.txt;h=0415a01f48df134db438b8cd7451e748f8c1aec4;hp=f45bf330116faf72ad82469e582b0c667157d6ce;hb=2926388f68e888b89796521fb63f0469d6f05b45;hpb=8ba17d95a5ab63e42a54e781b776e45daea67e75 diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index f45bf330..0415a01f 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -5,7 +5,10 @@ SET(gui_UICS channelwidget.ui identitiesdlg.ui identitieseditdlg.ui networkeditd QT4_WRAP_UI(_UIC ${gui_UICS}) QT4_WRAP_CPP(_MOC ${gui_MOCS}) -MESSAGE("uic: ${_UIC}") -MESSAGE("moc: ${_MOC}") + +# We need to workaround a dependency bug with out-of-source builds... +SET_SOURCE_FILES_PROPERTIES(${gui_SRCS} PROPERTIES +OBJECT_DEPENDS "${_UIC}") +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}) ADD_LIBRARY(gui ${gui_HDRS} ${gui_SRCS} ${_MOC} ${_UIC})