mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 00:37:49 +08:00
28 lines
875 B
CMake
28 lines
875 B
CMake
|
vcpkg_fail_port_install(MESSAGE "${PORT} currently only supports unix platform" ON_TARGET "Windows")
|
||
|
|
||
|
vcpkg_from_github(
|
||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||
|
REPO gpg/libgcrypt
|
||
|
REF libgcrypt-1.8.6
|
||
|
SHA512 85005b159048b7b47b3fc77e8be5b5b317b1ae73ef536d4e2d78496763b7b8c4f80c70016ed27fc60e998cbc7642d3cf487bd4c5e5a5d8abc8f8d51e02f330d1
|
||
|
HEAD_REF master
|
||
|
PATCHES
|
||
|
fix-pkgconfig.patch
|
||
|
)
|
||
|
|
||
|
vcpkg_configure_make(
|
||
|
AUTOCONFIG
|
||
|
SOURCE_PATH ${SOURCE_PATH}
|
||
|
OPTIONS
|
||
|
--disable-doc
|
||
|
--disable-silent-rules
|
||
|
--with-libgpg-error-prefix=${CURRENT_INSTALLED_DIR}/tools/libgpg-error
|
||
|
)
|
||
|
|
||
|
vcpkg_install_make()
|
||
|
vcpkg_fixup_pkgconfig()
|
||
|
vcpkg_copy_pdbs()
|
||
|
|
||
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||
|
file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|