summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@nathanm.com>2020-05-27 09:21:16 -0700
committerHans Kristian Rosbach <hk-github@circlestorm.org>2020-05-30 21:22:09 +0200
commitb2ab507832ab63ac729fd382ab8146be6c54e228 (patch)
treeffd4fb29f4d0b7f0557fef59ddf9eb157f6ec299
parent790046413182af4caea6d9eae543f97bd1a486c8 (diff)
downloadProject-Tick-b2ab507832ab63ac729fd382ab8146be6c54e228.tar.gz
Project-Tick-b2ab507832ab63ac729fd382ab8146be6c54e228.zip
Fixed target not being linked properly to zlib system libraries.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index da8d6eb824..d20d765fb9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -921,7 +921,7 @@ if (ZLIB_ENABLE_TESTS)
if(ZLIB_DUAL_LINK)
find_package(ZLIB)
if(ZLIB_FOUND)
- target_link_libraries(minigzip ${ZLIB_LIBRARIES})
+ target_link_libraries(${target} ${ZLIB_LIBRARIES})
endif()
endif()
endmacro()