mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
Linux: link liblzma explicity
Otherwise it gives unresolved symbols if libarchive is compiled statically.
This commit is contained in:
parent
24d7546830
commit
6845a86fc3
1 changed files with 4 additions and 0 deletions
|
@ -42,6 +42,10 @@ elseif (UNIX)
|
||||||
if(ZLIB_FOUND)
|
if(ZLIB_FOUND)
|
||||||
set(EXTRALIBS ${EXTRALIBS} ZLIB::ZLIB)
|
set(EXTRALIBS ${EXTRALIBS} ZLIB::ZLIB)
|
||||||
endif()
|
endif()
|
||||||
|
find_package(LibLZMA)
|
||||||
|
if(LIBLZMA_FOUND)
|
||||||
|
set(EXTRALIBS ${EXTRALIBS} LibLZMA::LibLZMA)
|
||||||
|
endif()
|
||||||
elseif (WIN32)
|
elseif (WIN32)
|
||||||
set(DEPENDENCIES acceleratedcryptographichash.cpp dependencies/mountutils/src/windows/functions.cpp dependencies/drivelist/src/windows/list.cpp
|
set(DEPENDENCIES acceleratedcryptographichash.cpp dependencies/mountutils/src/windows/functions.cpp dependencies/drivelist/src/windows/list.cpp
|
||||||
windows/winfile.cpp windows/winfile.h
|
windows/winfile.cpp windows/winfile.h
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue