2018-08-08 19:15:13 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO libimobiledevice-win32/idevicerestore
|
|
|
|
REF 1.0.12
|
|
|
|
SHA512 ba623be56c2f37853516d7d4c32e16f1ec72f33d512f18aa812ce6830af4b9e389f7af5321888dd0ddd168e282b652e379b60f90970680e213eabf489f406915
|
2018-08-29 05:05:16 +08:00
|
|
|
HEAD_REF msvc-master
|
2022-01-26 02:31:15 +08:00
|
|
|
PATCHES
|
2022-04-07 02:04:46 +08:00
|
|
|
fix-vcxproj.patch
|
2020-05-13 07:10:16 +08:00
|
|
|
fix-libgen.h-cannot-be-found.patch
|
2018-08-08 19:15:13 +08:00
|
|
|
)
|
|
|
|
|
2023-08-18 05:21:53 +08:00
|
|
|
vcpkg_msbuild_install(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2018-08-08 19:15:13 +08:00
|
|
|
PROJECT_SUBPATH idevicerestore.vcxproj
|
2023-08-18 05:21:53 +08:00
|
|
|
DEPENDENT_PKGCONFIG libimobiledevice-1.0 libzip zlib openssl
|
|
|
|
ADDITIONAL_LIBS getopt.lib irecovery.lib
|
2018-08-08 19:15:13 +08:00
|
|
|
)
|
|
|
|
|
2023-08-18 05:21:53 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|
|
|
|
|
2018-08-08 19:15:13 +08:00
|
|
|
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
|