facebook / facebook/zstd

Building with make leaves out CMake files

Open
#3,642 7 comments 0 reactions 0 assignees View on GitHub
build
Dominant language
C
Stars
27.9k
Forks
2.6k
Avg merge
1d 3h
Merged PRs (30d)
8

Description

**Is your feature request related to a problem? Please describe.**
The [MacPorts](http://macports.org) project builds zstd using [make](https://github.com/macports/macports-ports/blob/master/archivers/zstd/Portfile).
There are [various reasons](https://lists.macports.org/pipermail/macports-dev/2023-May/045008.html), not the least of which is that, according to the README.md file, "`make` is the officially maintained build system of this project."
However, the CMake files of zstd are installed if and only if zstd is built with CMake (*not* make).
This is a problem since the CMake files of [minizip-ng](https://github.com/zlib-ng/minizip-ng) *require* the CMake files of zstd to be installed.

**Describe the solution you'd like**
Is there any way to install the CMake files of zstd using only make?

**Describe alternatives you've considered**
There is [pull request](https://github.com/macports/macports-ports/pull/18605) that attempts to install zstd (via make) and its CMake files (via cmake) separately.
However, this is a less than ideal solution.

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.