FantasqueX 7bb78b3f15
[libspng]: New port (#35412)
* [libspng]: New port

* fix usage

* update version
2023-12-01 02:08:05 -08:00

4 lines
175 B
Plaintext

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