termux-packages/packages/cmake
Yaksh Bariya 6accd4396e
fixup(cmake): Do not depend on dependencies of libcurl and libarchive
Do not pass `-DCMAKE_USE_SYSTEM_{BZIP2,LIBLZMA,NGHTTP2,ZSTD}` to cmake.

libbz2 and liblzma are dependencies of libarchive. CMake does have an option to use zstd because libarchive supports linking to zstd (as a side note, we are building libarchive without zstd).

libnghttp2 is dependency of libcurl.

CMake's CMakeLists.txt does have options for these libraries in case we are not using shared libarchive and libcurl but wish to link against shared libraries of dependencies of libcurl and libarchive. In case we tell CMake to use shared libarchive and libcurl, these options are basically ignored (i.e. they don't anyway affect the build), which we are doing right now. So there's no need of these options at all!

Lastly, `-DCMAKE_USE_SYSTEM_ZLIB` needs to be specified because CMake does directly link against zlib. Perhaps making this option depend on `"NOT CMAKE_USE_SYSTEM_LIBARCHIVE;NOT CMAKE_USE_SYSTEM_CURL"` in CMakeLists.txt:197 is a mistake. Reporting this to upstream might make sense
2022-04-02 13:21:19 +05:30
..
build.sh fixup(cmake): Do not depend on dependencies of libcurl and libarchive 2022-04-02 13:21:19 +05:30
cmake-curses-gui.subpackage.sh cmake: bump revision after 0d1170cc 2019-05-06 16:54:19 +03:00
Source-cmExecProgramCommand.cxx.patch cmake: fix typo that broke exec_program 2019-08-23 21:08:55 +05:30
Source-cmLocalUnixMakefileGenerator3.cxx.patch Initial push 2015-06-13 01:03:31 +02:00