summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-05-15 14:39:52 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-05-15 14:39:52 (GMT)
commit22705f7863f87e850b3ef6079b899787e5248b45 (patch)
tree975c9f0df1ccafd28eb4e31c369813d4505b1231 /src/lib
parent08150c67d755afab6665207b0a06ae892a0ad7fa (diff)
Updated CMake files for compression library.
The include path was specified and the tng_io library linked to the compression library.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt
index 3cd090b..ef59ed5 100644
--- a/src/lib/CMakeLists.txt
+++ b/src/lib/CMakeLists.txt
@@ -10,5 +10,7 @@ endif()
if(ZLIB_FOUND)
set_property(TARGET tng_io APPEND PROPERTY COMPILE_DEFINITIONS USE_ZLIB)
- target_link_libraries(tng_io ${ZLIB_LIBRARIES})
+ target_link_libraries(tng_io tng_compress ${ZLIB_LIBRARIES})
+else()
+ target_link_libraries(tng_io tng_compress)
endif()
contact: Jan Huwald // Impressum