[clipper2] update to 1.4.0 (#40736)

This commit is contained in:
Eisenheim9 2024-09-03 20:58:19 +02:00 committed by GitHub
parent 3f929a1bdf
commit 80d946ae59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 23 additions and 5 deletions

View File

@ -6,7 +6,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO AngusJohnson/Clipper2
REF "Clipper2_${VERSION}"
SHA512 64028ab0610dc2b44e48a299d8498de59807f36d8471c4758e3bbf87de682b0d0a29d027a495f36dd5432737cedc44f09a8336f0d620846d58616244c72e226c
SHA512 91036e81244f3615095d7cd8522f9c4a32ea66f802e3d190393eb8939e1a706b69c69c3a5b7c6522235c075dd6ecd45f21bffb47448ba72191ddcf05e9e93128
HEAD_REF main
)
@ -19,6 +19,7 @@ vcpkg_cmake_configure(
-DCLIPPER2_UTILS=ON
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

View File

@ -10,3 +10,12 @@ The package clipper2 can be imported via CMake FindPkgConfig module:
pkg_check_modules(Clipper2Z REQUIRED IMPORTED_TARGET Clipper2Z)
target_link_libraries(main PkgConfig::Clipper2Z)
clipper2 provides CMake targets:
# Clipper2
find_package(Clipper2 CONFIG REQUIRED)
target_link_libraries(main PRIVATE Clipper2::Clipper2)
# Clipper2Z
find_package(Clipper2 CONFIG REQUIRED)
target_link_libraries(main PRIVATE Clipper2::Clipper2Z)

View File

@ -1,7 +1,6 @@
{
"name": "clipper2",
"version": "1.3.0",
"port-version": 1,
"version": "1.4.0",
"description": "Polygon Clipping and Offsetting",
"homepage": "http://www.angusj.com/clipper2",
"license": "BSL-1.0",
@ -9,6 +8,10 @@
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -1701,8 +1701,8 @@
"port-version": 2
},
"clipper2": {
"baseline": "1.3.0",
"port-version": 1
"baseline": "1.4.0",
"port-version": 0
},
"clockutils": {
"baseline": "1.1.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5b7c4d5dff8e0b28ad089e870674d497d4be1adb",
"version": "1.4.0",
"port-version": 0
},
{
"git-tree": "666b9d81d31d70d3d691e2286d951168c5d9d970",
"version": "1.3.0",