mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 19:37:50 +08:00
4 lines
175 B
Plaintext
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>)
|