vcpkg/ports/libdeflate/usage

5 lines
240 B
Plaintext
Raw Normal View History

2023-03-03 04:07:40 +08:00
The package zstd provides CMake targets:
find_package(libdeflate CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:libdeflate::libdeflate_shared>,libdeflate::libdeflate_shared,libdeflate::libdeflate_static>)