vcpkg/ports/ideviceinstaller/portfile.cmake
Cheney Wang 3ffb147c57
[vcpkg baseline][ideviceinstaller] Fix LNK2019 in static triplet (#28382)
* [ideviceinstaller] Fix LNK2019 in static triplet

* x-add-version

* Add patch file

* x-add-version
2022-12-16 13:50:05 -08:00

20 lines
606 B
CMake

vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libimobiledevice-win32/ideviceinstaller
REF ${VERSION}
SHA512 d0801b3a38eb02206a6f06e05cc19b794c69a87c06895165f64522c61e07030046499c5f0e436981682f9e17f91eae87913cca091e2e039a74ee35a5136100d4
HEAD_REF msvc-master
PATCHES Add-missing-lib.patch
)
vcpkg_install_msbuild(
SOURCE_PATH "${SOURCE_PATH}"
PROJECT_SUBPATH ideviceinstaller.vcxproj
LICENSE_SUBPATH COPYING
USE_VCPKG_INTEGRATION
)
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)