summaryrefslogtreecommitdiffstats
path: root/common/rdr
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2011-03-03 09:44:49 +0000
committerPierre Ossman <ossman@cendio.se>2011-03-03 09:44:49 +0000
commita7769f2eee1a93b3b8ef2b7daa7463e0a389338e (patch)
tree5086473835cdda4c9c33a5b0da359f659047ba11 /common/rdr
parentc21ddafe5d2bbcdfc8b30d9c2cfb3f261a321cce (diff)
downloadtigervnc-a7769f2eee1a93b3b8ef2b7daa7463e0a389338e.tar.gz
tigervnc-a7769f2eee1a93b3b8ef2b7daa7463e0a389338e.zip
Use the system copy of zlib by default, like we do with autotools.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4313 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rdr')
-rw-r--r--common/rdr/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rdr/CMakeLists.txt b/common/rdr/CMakeLists.txt
index 98a88d29..78033e2d 100644
--- a/common/rdr/CMakeLists.txt
+++ b/common/rdr/CMakeLists.txt
@@ -1,4 +1,4 @@
-include_directories(${CMAKE_SOURCE_DIR}/common ${CMAKE_SOURCE_DIR}/common/zlib)
+include_directories(${CMAKE_SOURCE_DIR}/common ${ZLIB_INCLUDE_DIRS})
add_library(rdr STATIC
Exception.cxx
@@ -14,7 +14,7 @@ add_library(rdr STATIC
ZlibInStream.cxx
ZlibOutStream.cxx)
-set(RDR_LIBRARIES zlib os)
+set(RDR_LIBRARIES ${ZLIB_LIBRARIES} os)
if(GNUTLS_FOUND)
set(RDR_LIBRARIES ${RDR_LIBRARIES} ${GNUTLS_LIBRARIES} ws2_32)
endif()