mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
Allow using shared minizip
This commit is contained in:
parent
bb7623e3ba
commit
9f12e0f5a9
@ -582,8 +582,14 @@ else()
|
|||||||
add_subdirectory(Externals/zlib)
|
add_subdirectory(Externals/zlib)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory(Externals/minizip)
|
pkg_check_modules(MINIZIP minizip)
|
||||||
include_directories(External/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)
|
if(NOT APPLE)
|
||||||
check_lib(LZO "(no .pc for lzo2)" lzo2 lzo/lzo1x.h QUIET)
|
check_lib(LZO "(no .pc for lzo2)" lzo2 lzo/lzo1x.h QUIET)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user