vcpkg/ports/libpng/libpng-config.cmake
Osyotr a469702fe1
[libpng] Update to 1.6.44, add feature tools (#42058)
Co-authored-by: Kai Pastor <dg0yt@darc.de>
2024-11-14 03:10:41 -08:00

13 lines
334 B
CMake

file(READ "${CMAKE_CURRENT_LIST_DIR}/usage" usage)
message(WARNING "find_package(libpng) is deprecated.\n${usage}")
include(CMakeFindDependencyMacro)
find_dependency(PNG CONFIG)
if(NOT TARGET png_shared)
add_library(png_shared ALIAS PNG::PNG)
endif()
if(NOT TARGET png_static)
add_library(png_static ALIAS PNG::PNG)
endif()