mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 04:59:00 +08:00
10 lines
256 B
Plaintext
10 lines
256 B
Plaintext
|
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)
|