X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2FCMakeLists.txt;h=4e835cdf3ef59236eeeb264af32212c248bd52da;hb=8544d22f38e453776f01fabfa6083cec00cf6e50;hp=526d424d07ac72c5703c4dd5b09186a8f8ba06a4;hpb=3156b80615b3783bde9399d0925c745fe3af262e;p=quassel.git diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 526d424d..4e835cdf 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -37,14 +37,10 @@ set(SOURCES settings.cpp signalproxy.cpp syncableobject.cpp - transfer.cpp - transfermanager.cpp util.cpp protocols/datastream/datastreampeer.cpp protocols/legacy/legacypeer.cpp - - ../../3rdparty/miniz/miniz.c ) set(MOC_HDRS @@ -67,13 +63,10 @@ set(MOC_HDRS network.h networkconfig.h peer.h - peerfactory.h remotepeer.h settings.h signalproxy.h syncableobject.h - transfer.h - transfermanager.h protocols/datastream/datastreampeer.h protocols/legacy/legacypeer.h @@ -90,6 +83,7 @@ set(HEADERS ${MOC_HDRS} networkevent.h logger.h message.h + peerfactory.h protocol.h types.h util.h) @@ -99,6 +93,10 @@ if (HAVE_QCA2) set(HEADERS ${HEADERS} keyevent.h) endif(HAVE_QCA2) +if(NOT HAVE_ZLIB) + set(SOURCES ${SOURCES} ../../3rdparty/miniz/miniz.c) +endif(NOT HAVE_ZLIB) + if(APPLE) set(SOURCES ${SOURCES} mac_utils.cpp) set(HEADERS ${HEADERS} mac_utils.h)