vcpkg/ports/libspng/usage

4 lines
175 B
Plaintext
Raw Normal View History

libspng provides CMake targets:
find_package(SPNG CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:spng::spng>,spng::spng,spng::spng_static>)