mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 15:39:00 +08:00
338964e3ff
* added geometry * added mapbox-polylabel * added versions * add port geojson-vt-cpp * add version * fix formatting * fix version * eh ok * version... * add geojson * add version * false version * fix internal version * use semver string Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * fix versions * added mapbox prefix to name. fixed description * changed versions Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
16 lines
547 B
CMake
16 lines
547 B
CMake
#header-only library
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO mapbox/geojson-cpp
|
|
REF v0.5.1
|
|
SHA512 1282bd4a21773c8b300149abc95c4baea7c36facf283d05d18db246a40614625fab1a71e51190c1cdfc80852ea60b2727af9a679661bfede860d822306467037
|
|
HEAD_REF master
|
|
)
|
|
|
|
# Copy header files
|
|
file(COPY ${SOURCE_PATH}/include/mapbox/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/mapbox FILES_MATCHING PATTERN "*.hpp")
|
|
|
|
# Handle copyright
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|