mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-09 15:39:06 +08:00
5 lines
234 B
Plaintext
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>)
|