mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 19:40:18 +08:00
d8783052cb
* 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>
5 lines
207 B
Plaintext
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>)
|