vcpkg/ports/libideviceactivation/portfile.cmake
Jack·Boos·Yu 334aec69e4
[libplist/libusbmuxd/libimobiledevice/libideviceactivation/usbmuxd] Update version (#13811)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-10-19 19:23:57 -07:00

23 lines
742 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libimobiledevice-win32/libideviceactivation
REF fbe0476cfeddc2fc317ceb900eec12302c1d4c11 # v1.2.235
SHA512 18fdf1b42744da33e0f0f037e83a72b76cc0b63a0b712e78d9736adcde113582327f3712bc2bfa7b6fdb692465700a9106286f383fd7d11f9351ca7939b20e24
HEAD_REF msvc-master
)
configure_file(${CURRENT_PORT_DIR}/CMakeLists.txt ${SOURCE_PATH}/CMakeLists.txt COPYONLY)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
vcpkg_install_cmake()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
# Handle copyright
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)