mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-15 13:49:01 +08:00
df8276a218
* Modernize lodepng portfile * Update to 8c6a9e30 * Install LICENSE as copyright * Don't install examples * Remove unused parameter * Merge lodepng-c into lodepng * Add usage * Omit lodepng-util: not official API * Update versions * [gdal] Don't use lz4: not a dependency * [libjxl] Fix link flags * Revise install cleanup, handle .dylib * Add extra flags for uwp * Workaround uwp toolchain quirks * More dependency control, jxl_extras for tools only * Pass the version to the build * Update versions * Skip CI for libjxl:arm-uwp * Install usage file * Update versions * Use version-date for lodepng, mark lodepng-c as deprecated, and update version database. Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
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)
|