vcpkg/ports/idevicerestore/portfile.cmake
Alexander Neumann 9f3362129f
[idevicerestore] msbuild (#33151)
* [idevicerestore] msbuild

* port version

* v db

* add dependencies

* format manifest

* v db

* fix install of copyright

* v db
2023-08-17 14:21:53 -07:00

22 lines
703 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libimobiledevice-win32/idevicerestore
REF 1.0.12
SHA512 ba623be56c2f37853516d7d4c32e16f1ec72f33d512f18aa812ce6830af4b9e389f7af5321888dd0ddd168e282b652e379b60f90970680e213eabf489f406915
HEAD_REF msvc-master
PATCHES
fix-vcxproj.patch
fix-libgen.h-cannot-be-found.patch
)
vcpkg_msbuild_install(
SOURCE_PATH "${SOURCE_PATH}"
PROJECT_SUBPATH idevicerestore.vcxproj
DEPENDENT_PKGCONFIG libimobiledevice-1.0 libzip zlib openssl
ADDITIONAL_LIBS getopt.lib irecovery.lib
)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)