2023-03-02 12:07:40 -08:00

5 lines
240 B
Plaintext

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>)