mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 01:19:00 +08:00
51a4dd1442
* [vcpkg baseline][libheif] Fix build failure on OSX * update version record
27 lines
782 B
CMake
27 lines
782 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO strukturag/libheif
|
|
REF 667eeabb553ce73094eb29faea3f31fb8610fec2 #v1.10.0
|
|
SHA512 937290310ec6dda8840262d4bad5e3628033fa2caa6e9cc4a0df7a372cacf38c9b55cf29d2cb7ea2183641e263298fc2e87167c1b0f04f8697023f123d78aa9d
|
|
HEAD_REF master
|
|
PATCHES
|
|
gdk-pixbuf.patch
|
|
disable-depend-dav1d.patch
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
OPTIONS
|
|
-DWITH_EXAMPLES=OFF
|
|
-DWITH_DAV1D=OFF
|
|
)
|
|
vcpkg_install_cmake()
|
|
vcpkg_copy_pdbs()
|
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/libheif/)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|