X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2FCMakeLists.txt;h=6a44218489521a67b24e07fd6baf9b69d37b633d;hp=46835e50c8fcc4e190995a9eff800c0bd4feebd7;hb=93aa90cdc8ee608f4b65a32702eabb8a5590c273;hpb=5b43f2776fa53bfe15a5b3b4398dfe3e931d5802 diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 46835e50..6a442184 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -50,9 +50,9 @@ if (HAVE_QCA2) set(SOURCES ${SOURCES} keyevent.cpp) endif(HAVE_QCA2) -if(NOT HAVE_ZLIB) +if (NOT ZLIB_FOUND) set(SOURCES ${SOURCES} ../../3rdparty/miniz/miniz.c) -endif(NOT HAVE_ZLIB) +endif() if(APPLE) set(SOURCES ${SOURCES} mac_utils.cpp)