- treemodel.cpp)
-
-set(MOC_HDRS
- buffer.h
- buffermodel.h
- client.h
- clientbacklogmanager.h
- clientsyncer.h
- networkmodel.h
- mappedselectionmodel.h
- quasselui.h
- selectionmodelsynchronizer.h
- treemodel.h)
-
-set(HEADERS
- buffersettings.h
- clientsettings.h)
-
-if(SPUTDEV)
- set(SOURCES ${SOURCES} messagefilter.cpp messagemodel.cpp)
- set(MOC_HDRS ${MOC_HDRS} messagefilter.h messagemodel.h)
-endif(SPUTDEV)
-
-qt4_wrap_cpp(MOC ${MOC_HDRS})
-
-include_directories(${CMAKE_SOURCE_DIR}/src/common)
-
-add_library(mod_client STATIC ${SOURCES} ${MOC} ${HEADERS})
+ treemodel.cpp
+
+ # needed for automoc
+ abstractui.h
+ clientcoreinfo.h
+)
+
+include_directories(${CMAKE_SOURCE_DIR}/src/common ${QUASSEL_QT_INCLUDES})
+
+add_library(mod_client STATIC ${SOURCES})