mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 04:39:00 +08:00
H3: A Hexagonal Hierarchical Geospatial Indexing System
This commit is contained in:
parent
85bf9d9d79
commit
1e23800140
4
ports/h3/CONTROL
Normal file
4
ports/h3/CONTROL
Normal file
@ -0,0 +1,4 @@
|
||||
Source: h3
|
||||
Version: 3.6.3
|
||||
Homepage: https://github.com/uber/h3
|
||||
Description: A Hexagonal Hierarchical Geospatial Indexing System
|
29
ports/h3/portfile.cmake
Normal file
29
ports/h3/portfile.cmake
Normal file
@ -0,0 +1,29 @@
|
||||
vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "UWP")
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO uber/h3
|
||||
REF v3.6.3
|
||||
SHA512 925438663ef9fb6541e4655dc95febe6233f078f8277937d8a9b33a76cf9b257d8c14e3ac5109460ac9188c426e6997700c4ec17926cf401577b3faf74c6c320
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DBUILD_BENCHMARKS=OFF
|
||||
-DBUILD_FILTERS=OFF
|
||||
-DBUILD_GENERATORS=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
@ -580,6 +580,9 @@ gtk:x86-windows=ignore
|
||||
gts:x64-linux=fail
|
||||
gts:x64-osx=fail
|
||||
guetzli:x64-osx=fail
|
||||
h3:arm64-windows=ignore
|
||||
h3:arm-uwp=ignore
|
||||
h3:x64-uwp=ignore
|
||||
halide:x64-windows-static=fail
|
||||
hdf5:arm64-windows=fail
|
||||
hdf5:arm-uwp=fail
|
||||
|
Loading…
Reference in New Issue
Block a user