early-access version 2853
This commit is contained in:
22
externals/vcpkg/ports/libosmium/portfile.cmake
vendored
Executable file
22
externals/vcpkg/ports/libosmium/portfile.cmake
vendored
Executable file
@@ -0,0 +1,22 @@
|
||||
# header-only library
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO osmcode/libosmium
|
||||
REF v2.17.1
|
||||
SHA512 08d1eb272b82364118b97213310e5d62fdbb071cfad74989bdc5bb25f9e14b067d53016d19bfed3972d3385343fc74edf86407860be83c59e74902cd1f26bb33
|
||||
)
|
||||
set(BOOST_ROOT "${CURRENT_INSTALLED_DIR}")
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DBUILD_TESTING=OFF
|
||||
-DBUILD_EXAMPLES=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
||||
21
externals/vcpkg/ports/libosmium/vcpkg.json
vendored
Executable file
21
externals/vcpkg/ports/libosmium/vcpkg.json
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "libosmium",
|
||||
"version-semver": "2.17.1",
|
||||
"port-version": 1,
|
||||
"description": "A fast and flexible C++ library for working with OpenStreetMap data",
|
||||
"homepage": "https://osmcode.org/libosmium/",
|
||||
"license": "BSL-1.0",
|
||||
"dependencies": [
|
||||
"boost",
|
||||
"bzip2",
|
||||
"expat",
|
||||
"proj",
|
||||
"protozero",
|
||||
"utfcpp",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
"zlib"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user