early-access version 2853
This commit is contained in:
13
externals/vcpkg/ports/earcut-hpp/portfile.cmake
vendored
Executable file
13
externals/vcpkg/ports/earcut-hpp/portfile.cmake
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO mapbox/earcut.hpp
|
||||
REF v2.2.3
|
||||
SHA512 f87f0084dbbcda85b409c326587a376d443f2484b6a69c216d2ad94ea8ea238912dfe1174b464b08faec10ea5c29ebae6478e7abfe5ff682a7b043784c1e3acf
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
# This is a header only library
|
||||
file(INSTALL "${SOURCE_PATH}/include/mapbox/earcut.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include/mapbox")
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME "copyright")
|
||||
7
externals/vcpkg/ports/earcut-hpp/vcpkg.json
vendored
Executable file
7
externals/vcpkg/ports/earcut-hpp/vcpkg.json
vendored
Executable file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "earcut-hpp",
|
||||
"version": "2.2.3",
|
||||
"description": "earcut.hpp is a C++ port of earcut.js, a fast, header-only polygon triangulation library.",
|
||||
"homepage": "https://github.com/mapbox/earcut.hpp",
|
||||
"license": "ISC"
|
||||
}
|
||||
Reference in New Issue
Block a user