Commit Graph

2 Commits

Author SHA1 Message Date
Theodore Tsirpanis
109d286a0c
[libmagic] Explicitly toggle features. (#37459)
Libmagic supports some compression libraries that by default are enabled
unpredictably, if they are found in the system. This PR adds features to
the port that enable support for these compression libraries, and makes
sure the features are disabled if not specified.

Validated by building the port with all features enabled on Windows and
Linux, and importing it in a project with static library linkage on
Windows.
2024-03-18 14:29:10 -07:00
Theodore Tsirpanis
16ee2ecb31
[libmagic] Add CMake config. (#35274)
* [libmagic] Add CMake config.

* Fix license information and add usage.

* Address PR feedback.
Co-authored-by: Kai Pastor <dg0yt@darc.de>

* Set some missing properties.

* Fix location to import library.

* Update version database.
2023-12-01 02:21:55 -08:00