mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
Allow using shared minizip
This commit is contained in:
parent
bb7623e3ba
commit
9f12e0f5a9
@ -582,8 +582,14 @@ else()
|
||||
add_subdirectory(Externals/zlib)
|
||||
endif()
|
||||
|
||||
pkg_check_modules(MINIZIP minizip)
|
||||
if(MINIZIP_FOUND)
|
||||
message(STATUS "Using shared minizip")
|
||||
else()
|
||||
message(STATUS "Shared minizip not found, falling back to the static library")
|
||||
add_subdirectory(Externals/minizip)
|
||||
include_directories(External/minizip)
|
||||
endif()
|
||||
|
||||
if(NOT APPLE)
|
||||
check_lib(LZO "(no .pc for lzo2)" lzo2 lzo/lzo1x.h QUIET)
|
||||
|
Loading…
x
Reference in New Issue
Block a user