[ezc3d] Update to 1.4.6 (#20444)

* Update ezc3d-port to 1.4.6

* Use different settings for non-windows platfom

* Reformat manifest

* Bump version

* Apply suggestions from code review

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Format vcpkg.json

* Update versionsfile

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
This commit is contained in:
Kilidsch 2021-10-18 23:23:19 +02:00 committed by GitHub
parent 657d66a6cb
commit 2a989abd8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 41 additions and 17 deletions

View File

@ -1,24 +1,33 @@
vcpkg_from_github(ARCHIVE
OUT_SOURCE_PATH SOURCE_PATH
REPO pyomeca/ezc3d
REF Release_1.3.7
SHA512 5beb0909a4ddc56f5965b5f2edcfd2c8d68d473b172778ebe21bc134e1b4931cac1e6529676866d4238b41041658041a72ccd44879b9685d85f857a4e0df23ec
REF Release_1.4.6
SHA512 f63da7e715c09c6a757fe923fd397c09e1cbd0a58a78b1d8fa52bd1a41230ecab2cbb17ecc3d4f66656f3234bfe4c8588164f1d4964dcce729da091e99daab2d
HEAD_REF dev
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DBUILD_EXAMPLE=OFF
)
vcpkg_install_cmake()
if (VCPKG_TARGET_IS_LINUX OR VCPKG_TARGET_IS_OSX)
vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/ezc3d/cmake")
if(WIN32)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_EXAMPLE=OFF
-Dezc3d_LIB_FOLDER="lib"
-Dezc3d_BIN_FOLDER="bin"
)
else()
vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/cmake")
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_EXAMPLE=OFF
)
endif()
vcpkg_cmake_install()
if(WIN32)
vcpkg_cmake_config_fixup(CONFIG_PATH "CMake")
else()
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake")
endif()
# # Handle copyright

View File

@ -1,6 +1,16 @@
{
"name": "ezc3d",
"version-string": "1.3.7",
"version": "1.4.6",
"description": "C3D reader/writer",
"homepage": "https://github.com/pyomeca/ezc3d"
"homepage": "https://github.com/pyomeca/ezc3d",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -2033,7 +2033,7 @@
"port-version": 1
},
"ezc3d": {
"baseline": "1.3.7",
"baseline": "1.4.6",
"port-version": 0
},
"faad2": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "555219f96920ec01fc38ecd89e0a19188206be22",
"version": "1.4.6",
"port-version": 0
},
{
"git-tree": "ef3430033f1d62974ad03b445cee043327516a05",
"version-string": "1.3.7",