mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 15:49:07 +08:00
5b11232d00
* [libuvc,qt5-virtualkeyboard] remove duplicated dependency entry * [many-ports] don't use deprecated functions (autogenerated) * atkmm: Fix license. gperftools: Reformat vcpkg_check_features call. gsl: Fix license. libpff: Fix license. pangomm: Fix license. qtbase: Revert, only comment changes. type-lite: Reformat vcpkg_check_features and actually use the feature options. --------- Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
18 lines
658 B
CMake
18 lines
658 B
CMake
# Header only library
|
|
vcpkg_download_distfile(ARCHIVE
|
|
URLS "http://download.savannah.nongnu.org/releases/pngpp/png++-0.2.10.tar.gz"
|
|
FILENAME "png++-0.2.10.tar.gz"
|
|
SHA512 c54a74c0c20212bd0dcf86386c0c11dd824ad14952917ba0ff4c184b6547744458728a4f06018371acb7d5b842b641708914ccaa81bad8e72e173903f494ca85
|
|
)
|
|
|
|
vcpkg_extract_source_archive(
|
|
SOURCE_PATH
|
|
ARCHIVE ${ARCHIVE}
|
|
PATCHES
|
|
fix-stderror-win.patch
|
|
)
|
|
|
|
file(GLOB HEADER_FILES ${SOURCE_PATH}/*.hpp)
|
|
file(INSTALL ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include/png++)
|
|
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|