Skip to content

Commit 6b90942

Browse files
committed
add back libz link
1 parent c5c4cf4 commit 6b90942

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,10 @@ set(LICENSE "Mozilla Public License Version 2.0")
130130
find_package(Threads REQUIRED)
131131
if(WITH_DLT_LOGSTORAGE_GZIP)
132132
find_package(ZLIB 1.2.9 REQUIRED)
133+
set(ZLIB_LIBRARY "ZLIB::ZLIB")
133134
elseif(WITH_DLT_COREDUMPHANDLER OR WITH_DLT_FILETRANSFER)
134135
find_package(ZLIB REQUIRED)
136+
set(ZLIB_LIBRARY "ZLIB::ZLIB")
135137
else()
136138
set(ZLIB_LIBRARY "")
137139
endif()

0 commit comments

Comments
 (0)