2020-09-10 03:47:16 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Esri/lerc
|
2022-05-11 02:37:35 +08:00
|
|
|
REF v3.0
|
|
|
|
SHA512 8e04d890c4d46528641b354ec3f47f2b0563e1740927ac894925a30f7de2b235cb3517ce7e477886bd3eb50ebd6c6e78f22d73d5500877e552d9e684e626293b
|
2020-09-10 03:47:16 +08:00
|
|
|
HEAD_REF master
|
|
|
|
PATCHES
|
2020-10-09 14:35:45 +08:00
|
|
|
"create_package.patch"
|
2020-09-10 03:47:16 +08:00
|
|
|
)
|
|
|
|
|
2022-05-11 02:37:35 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2020-09-10 03:47:16 +08:00
|
|
|
)
|
2022-05-11 02:37:35 +08:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME unofficial-lerc)
|
2020-09-10 03:47:16 +08:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
|
2022-05-11 02:37:35 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/NOTICE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|