mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
Linux: explicitly link in zlib
Prevent undefined reference to inflateEnd when statically linking Qt under rpi-imager embedded.
This commit is contained in:
parent
99a9fefb0b
commit
08b7398e6b
1 changed files with 4 additions and 0 deletions
|
@ -38,6 +38,10 @@ elseif (UNIX)
|
|||
else()
|
||||
message("DBUS not found. Disabling udisks2 support")
|
||||
endif()
|
||||
find_package(ZLIB)
|
||||
if(ZLIB_FOUND)
|
||||
set(EXTRALIBS ${EXTRALIBS} ZLIB::ZLIB)
|
||||
endif()
|
||||
elseif (WIN32)
|
||||
set(DEPENDENCIES acceleratedcryptographichash.cpp dependencies/mountutils/src/windows/functions.cpp dependencies/drivelist/src/windows/list.cpp
|
||||
windows/winfile.cpp windows/winfile.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue