2018-08-08 19:15:13 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO libimobiledevice-win32/libideviceactivation
|
2020-10-20 10:23:57 +08:00
|
|
|
REF fbe0476cfeddc2fc317ceb900eec12302c1d4c11 # v1.2.235
|
|
|
|
SHA512 18fdf1b42744da33e0f0f037e83a72b76cc0b63a0b712e78d9736adcde113582327f3712bc2bfa7b6fdb692465700a9106286f383fd7d11f9351ca7939b20e24
|
2018-08-29 05:05:16 +08:00
|
|
|
HEAD_REF msvc-master
|
2018-08-08 19:15:13 +08:00
|
|
|
)
|
|
|
|
|
2019-11-01 12:35:56 +08:00
|
|
|
configure_file(${CURRENT_PORT_DIR}/CMakeLists.txt ${SOURCE_PATH}/CMakeLists.txt COPYONLY)
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
2018-08-08 19:15:13 +08:00
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2019-11-01 12:35:56 +08:00
|
|
|
PREFER_NINJA
|
2018-08-08 19:15:13 +08:00
|
|
|
)
|
|
|
|
|
2019-11-01 12:35:56 +08:00
|
|
|
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)
|