vcpkg/ports/libpng-apng/vcpkg-cmake-wrapper.cmake
Albert Huang a05cbffe55 Update libpng-apng to match libpng ports changes + update to 1.6.36 ()
* Update libpng-apng to match libpng ports changes + update to 1.6.36

* Delete CONTROL.bak

* Delete portfile.cmake.bak

* Delete use-abort-on-all-platforms.patch.bak
2018-12-13 17:40:18 -08:00

7 lines
409 B
CMake

if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/../../lib/libpng16.a")
set(PNG_LIBRARY_RELEASE "${CMAKE_CURRENT_LIST_DIR}/../../lib/libpng16.a" CACHE FILEPATH "")
elseif(EXISTS "${CMAKE_CURRENT_LIST_DIR}/../../lib/libpng16${CMAKE_SHARED_LIBRARY_SUFFIX}")
set(PNG_LIBRARY_RELEASE "${CMAKE_CURRENT_LIST_DIR}/../../lib/libpng16${CMAKE_SHARED_LIBRARY_SUFFIX}" CACHE FILEPATH "")
endif()
_find_package(${ARGS})