Merge pull request #8667 from Mystro256/master
Allow for some shared minizip/fmt
This commit is contained in:
commit
5db7add9c7
|
@ -588,8 +588,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…
Reference in New Issue