vcpkg/ports/libdeflate/usage
2023-12-04 17:30:52 -08:00

5 lines
234 B
Plaintext

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