summaryrefslogtreecommitdiff
path: root/src/lib/CMakeLists.txt
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-01-25 16:58:28 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-03-13 10:12:35 (GMT)
commit8d4d2e2e8c10217e56dcfb24dcaff2b3c05b43e3 (patch)
treea990209e15d0404c372002689994fc62a0f6675d /src/lib/CMakeLists.txt
parentd5e691f359fe36c6b5190857295710de53fcaa89 (diff)
Add gzip compression and uncompression to master branch.
Diffstat (limited to 'src/lib/CMakeLists.txt')
-rw-r--r--src/lib/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt
index b12bb42..b6fd655 100644
--- a/src/lib/CMakeLists.txt
+++ b/src/lib/CMakeLists.txt
@@ -1,2 +1,6 @@
add_library(tng_io SHARED tng_io.c md5.c)
+if(ZLIB_FOUND)
+ set_target_properties(tng_io PROPERTIES COMPILE_DEFINITIONS USE_ZLIB=1)
+ target_link_libraries(tng_io ${ZLIB_LIBRARIES})
+endif()
contact: Jan Huwald // Impressum