diff options
| author | Andreas Schneider <asn@cynapses.org> | 2010-06-11 10:43:02 +0200 |
|---|---|---|
| committer | Andreas Schneider <asn@cynapses.org> | 2010-06-11 10:43:02 +0200 |
| commit | f57d2c327726b93741e986f7dc60f81007330dc9 (patch) | |
| tree | 50bbc589b208289061b4f74cfd2e9cbcaec62534 | |
| parent | 11a1ae59f4954b4109cbf0d54b058157d8402886 (diff) | |
build: Fixed building without zlib.
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8fa78c52..dd6b69ef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,7 +43,9 @@ include(MacroAddPlugin) include(MacroCopyFile) # search for libraries -find_package(ZLIB REQUIRED) +if (WITH_LIBZ) + find_package(ZLIB REQUIRED) +endif (WITH_LIBZ) if (WITH_GCRYPT) find_package(GCrypt REQUIRED) |
