X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2FCMakeLists.txt;h=4e835cdf3ef59236eeeb264af32212c248bd52da;hb=8544d22f38e453776f01fabfa6083cec00cf6e50;hp=70c0a55bb830652f407cc91c116144a38331d18a;hpb=97675557b12cae69bc19febe1ddd147ddfafebdb;p=quassel.git diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 70c0a55b..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 @@ -71,8 +67,6 @@ set(MOC_HDRS settings.h signalproxy.h syncableobject.h - transfer.h - transfermanager.h protocols/datastream/datastreampeer.h protocols/legacy/legacypeer.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)