vcpkg/ports/zstd/usage
Kai Pastor d8783052cb
[zstd] No debug postfix. No renaming of CMake config files. (#22822)
* Use upstream's standard filenames

* Update license info

* CMake style

* Revise downstream zstd patching

* Update versions

* Don't use '_static' lib name suffix

* Revise downstream zstd patching

* Add usage

* Update versions

* Update versions

* [zstd] Simplify consumers via fixed .pc and linkage alias

* [zstd] Fix missing IMPORTED

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2022-02-15 17:20:21 -08:00

5 lines
207 B
Plaintext

The package zstd provides CMake targets:
find_package(zstd CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:zstd::libzstd_shared>,zstd::libzstd_shared,zstd::libzstd_static>)