mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 18:49:33 +08:00
848233b137
* Update libpng cmake wrapper for dynamic libraries * [libpng] Bump control version * [libgd] Fix parallel source directory writes
7 lines
409 B
CMake
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})
|