5 lines
234 B
Plaintext
Raw Normal View History

2023-12-05 02:30:52 +01:00
libdeflate provides CMake targets:
2023-03-02 21:07:40 +01:00
find_package(libdeflate CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:libdeflate::libdeflate_shared>,libdeflate::libdeflate_shared,libdeflate::libdeflate_static>)