1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-31 00:03:07 +03:00

cmake: Fix library linking.

This commit is contained in:
Andreas Schneider
2011-09-23 08:00:25 +02:00
parent dad35304b6
commit 8a3b02f68d
4 changed files with 29 additions and 21 deletions

View File

@ -13,9 +13,9 @@ option(WITH_CLIENT_TESTING "Build with client tests; requires a running sshd" OF
option(WITH_BENCHMARKS "Build benchmarks tools" OFF)
if (WITH_ZLIB)
set(WITH_ZLIB ON)
set(WITH_LIBZ ON)
else (WITH_ZLIB)
set(WITH_ZLIB OFF)
set(WITH_LIBZ OFF)
endif (WITH_ZLIB)
if(WITH_BENCHMARKS)