Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alveus:blackbox
minizip-ng
minizip-ng_find_libz-ng.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File minizip-ng_find_libz-ng.patch of Package minizip-ng
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ded851..ac2eb2a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -174,6 +174,13 @@ if(MZ_ZLIB) # Check if zlib is present if(NOT MZ_FORCE_FETCH_LIBS) find_package(ZLIBNG QUIET) + if (ZLIBNG_FOUND) + find_path(ZLIBNG_INCLUDE_DIRS NAMES zlib-ng.h) + find_library(ZLIBNG_LIBRARY NAMES z-ng zlib-ng libz-ng) + set(ZLIBNG_LIBRARIES ${ZLIBNG_LIBRARY}) + include(FindPackageHandleStandardArgs) + find_package_handle_standard_args(ZLIBNG DEFAULT_MSG ZLIBNG_LIBRARY ZLIBNG_INCLUDE_DIRS) + endif() find_package(ZLIB QUIET) set(ZLIB_VERSION ${ZLIB_VERSION_STRING}) endif()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor