Marek Rusinowski
41c93fb2d5
Fix private linking of LibLZMA
...
The current `liblzma` makes linke look for `libliblzma` as the `lib` prefix is added automatically. This is breaking static linking of library when using pkg-config for resolving dependencies.
2023-01-15 10:48:27 -08:00
Nathan Moinvaziri
029e724e76
Fixed VS_STARTUP_PROJECT cmake setting.
2022-12-31 11:22:22 -08:00
Nathan Moinvaziri
cee6d8cbd4
Version 3.0.8.
2022-12-31 11:09:18 -08:00
Nathan Moinvaziri
bb82bb5b9f
Allow CMake to handle optimization flags.
2022-11-29 16:51:25 -08:00
Nathan Moinvaziri
60649ada97
Disable MZ_SIGNING due to extra test requirements.
...
MZ_SIGNING no longer on by default due to extra test requirements of having
to have a certificate installed as root to validate signing.
2022-11-29 16:51:25 -08:00
SpaceIm
4c44bd1e66
cmake: inject libdir of lzma
2022-11-29 16:02:05 -08:00
Nathan Moinvaziri
2414288862
Version 3.0.7.
2022-10-15 15:55:45 -07:00
Nathan Moinvaziri
ba51421317
Turn off liblzma tests which run even with EXCLUDE_FROM_ALL.
2022-10-15 10:21:45 -07:00
Nathan Moinvaziri
97707624a6
Turn off ZSTD programs to prevent playTest.sh from running.
2022-10-15 10:21:45 -07:00
Nathan Moinvaziri
d03ca72a25
Implement Google test framework.
2022-10-13 09:51:47 -07:00
Rosen Penev
387ade34c6
build with libbsd-overlay
...
Simplifies the code. Upstream also recommends it.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-10-08 14:52:40 -07:00
Nathan Moinvaziri
7b2784110f
Fixed GCC build compilation with ctest due to missing zlib.h
...
When running ctest it also builds and runs example and example64 from zlib.
The GCC CI builds were failing because example and example64 could not find
the header file zlib.h.
2022-08-06 09:12:12 -07:00
Nathan Moinvaziri
0aca9f0011
Set default startup project to minizip_cmd when using MZ_BUILD_TESTS.
2022-06-11 10:54:39 -07:00
Nathan Moinvaziri
6261d6f5ec
Generate test files in binary temp directory.
2022-06-11 10:36:42 -07:00
degaart
e2e5775aee
Avoid writing minizip-config.cmake.in to source dir
2022-05-07 11:09:51 -07:00
degaart
65df63a152
Fix generation of minizip.pc
2022-05-07 11:09:51 -07:00
Nathan Moinvaziri
47b8449fec
Version 3.0.6.
2022-04-27 11:16:33 -07:00
Fabrice Fontaine
a4e6591a18
CMakeLists.txt: fix build without C++ ( #621 )
...
Fix the following build failure without a working C++ compiler raised
since version 2.0.0 and
d383a5f2fc :
CMake Error at /nvmedata/autobuild/instance-20/output-1/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message):
The C++ compiler
"/usr/bin/c++"
is not able to compile a simple test program.
Fixes:
- http://autobuild.buildroot.org/results/4452bc35b41414a5e8a0e9831b0854228df5fba4
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2022-04-27 11:14:30 -07:00
Nathan Moinvaziri
f9779319a6
Only add OPENSSL_INCLUDE_DIR to include directories if variable is set.
2022-04-26 19:19:45 -07:00
Nathan Moinvaziri
024a1d4726
Added build directory to public interface when using compat mode. #588 .
2022-03-10 08:00:32 -08:00
Nathan Moinvaziri
f3d400e999
Version 3.0.5.
2022-03-05 14:53:32 -08:00
Paweł Iwaneczko
4c886bd5ab
Generated files unzip.h and zip.h shall be in build directory. #587
...
No need for unzip and zip headers in gitignore. #606
Co-authored-by: Nathan Moinvaziri <nathan@nathanm.com>
2022-03-05 14:16:48 -08:00
Nathan Moinvaziri
b9236b8942
Default to -ng project suffix when MZ_COMPAT is not enabled.
2022-03-05 14:02:51 -08:00
Nathan Moinvaziri
9e9d8203e5
Change minizip alias name to be consistent.
2022-03-05 14:02:51 -08:00
Nathan Moinvaziri
f3ccc71127
Moved clone_repo cmake function to cmake directory.
2022-03-05 14:02:51 -08:00
Nathan Moinvaziri
4bfd0460b0
Detect whether or not ZLIB_REPOSITORY uses ZLIB_NG/ZLIB_COMPAT or not. #603
2022-03-05 13:46:16 -08:00
Nathan Moinvaziri
8a02ab8c73
Fixed set MINIZIP_DEP_PKG to ZLIBNG when ZLIB_COMPAT not set. #603
2022-03-05 13:23:07 -08:00
Nathan Moinvaziri
17f10044ca
Fixed lowercase repository and tag name variables used. #603
2022-03-05 13:18:22 -08:00
Hayden
9184ba1216
Link zlib-ng native if available. #574
2022-03-05 13:17:04 -08:00
Wouter Wijsman
6bb97e5e8e
Make minizip buildable for PSP
...
Using the PSPDEV homebrew SDK it is possible to build minizip for the Playstation Portable, but it does not support position independent code.
2022-02-15 22:30:04 -08:00
Nathan Moinvaziri
d5656f7548
Remove cmake CMP0074 old policy.
2021-12-28 17:13:49 -08:00
Nathan Moinvaziri
95987e98b4
Version 3.0.4.
2021-11-29 12:58:24 -05:00
Nathan Moinvaziri
99d39015e2
Version 3.0.3.
2021-09-06 12:44:00 -07:00
Andreas Schnebinger
1d7bcb4ecb
Use only major project version as soversion
2021-09-01 16:55:13 -07:00
Sergey Markelov
3fae108930
Fix not recognized AppleClang for Xcode when building fuzzer executables
2021-06-28 11:13:58 -07:00
Nathan Moinvaziri
bc93e4077b
Version 3.0.2.
2021-05-09 16:46:32 -07:00
Prateek Chokse
503bfd5c17
made cmake _IMPORT_PREFIX relative
2021-05-08 14:22:51 -07:00
Nathan Moinvaziri
2435f5db92
Disable hash extrafield if crypto library is not enabled by encryption or signing features. #560
2021-04-11 11:43:20 -07:00
Jann Köker
e8551f57be
Fix inclusion of fetched bzip2 sources
...
Now it works even if FETCHCONTENT_SOURCE_DIR_BZIP2 was set
to use a previously populated directory (e.g. submodule of parent project)
2021-04-05 17:29:46 -07:00
Nathan Moinvaziri
1593060ecf
Version 3.0.1.
2021-03-04 17:35:25 -08:00
Prateek Chokse
1b29f54967
fix zstd cmake linking(2)
2021-02-26 16:38:42 -08:00
Prateek Chokse
fd6809567c
added changes to reflect suffix in config file
2021-02-24 13:59:41 -08:00
Prateek Chokse
1352bb54a0
fix zstd cmake linking
2021-02-15 19:41:03 -08:00
Prateek Chokse
45d8136a40
cmake minizip version changed
2021-02-15 19:41:03 -08:00
Nathan Moinvaziri
b57366d7f6
Fixed formatting of comment.
2021-02-07 19:47:00 -08:00
Prateek Chokse
420d9c365c
added alias target for consistence btw find_packaage and fetchconten/Externalproject
2021-02-07 19:47:00 -08:00
Prateek Chokse
bd787ca6d2
fix: cmake find_package not working if lib is install in custom location
2021-02-07 19:47:00 -08:00
Nathan Moinvaziri
6f17da582d
Version 3.0.0.
2021-01-23 16:57:55 -08:00
Nathan Moinvaziri
db95894646
Updated name of project to minizip-ng.
2021-01-23 16:19:05 -08:00
Nathan Moinvaziri
14f45f97c2
Fixed default option values depending on platform not working.
2021-01-10 13:50:48 -08:00