pineapple/externals/vcpkg/ports/lodepng/usage

10 lines
256 B
Text
Raw Normal View History

2022-07-23 03:01:36 +02:00
The package lodepng provides CMake targets:
# C API
find_package(lodepng-c CONFIG REQUIRED)
target_link_libraries(main PRIVATE lodepng-c)
# C++ API
find_package(lodepng CONFIG REQUIRED)
target_link_libraries(main PRIVATE lodepng)