From 33b948cab991cb9ef4834ea02b19cf38623bcc3f Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 28 Mar 2009 21:43:53 +0000 Subject: Add an option WITH_LIBZ to compile with zlib support. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@289 7dcaeef0-15fb-0310-b436-a5af3365683c --- ConfigureChecks.cmake | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 70924d2..1899ebd 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -49,6 +49,11 @@ if (Z_LIBRARY) set(HAVE_LIBZ 1) endif (Z_LIBRARY) +# OPTIONS +if (WITH_LIBZ) + set(WITH_LIBZ 1) +endif (WITH_LIBZ) + if (WITH_SSH1) set(HAVE_SSH1 1) endif (WITH_SSH1) -- cgit v1.2.3