summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
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