[fmilib] Change to the github and update to fix bug of libexpat (#29805)

This commit is contained in:
Frank 2023-02-25 06:08:21 +08:00 committed by GitHub
parent b5f40dc9d8
commit a7b6122f6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 16 deletions

View File

@ -1,16 +1,11 @@
vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_download_distfile(ARCHIVE
URLS "https://jmodelica.org/fmil/FMILibrary-${VERSION}-src.zip"
FILENAME "FMILibrary-${VERSION}-src.zip"
SHA512 86e4b5019d8f2a76b01141411845d977fb3949617604de0b34351f23647e3e8b378477de184e1c4f2f59297bc4c7de3155e0edba9099b8924594a36b37b04cc8
)
vcpkg_extract_source_archive(
SOURCE_PATH
ARCHIVE "${ARCHIVE}"
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO modelon-community/fmi-library
REF "${VERSION}"
SHA512 65c2dc11116737e4e2ee91a4ec58d2cf24003774fd6d9b8b1d6521f046be9e8f8a963ebedb50a161ad264927062f41ce757c84563cfe628d47614910e8730349
HEAD_REF master
PATCHES
0001-remove-install-prefix.patch
0002-include-sys-stat.h-for-mkdir.patch

View File

@ -1,10 +1,9 @@
{
"name": "fmilib",
"version": "2.0.3",
"port-version": 5,
"version": "2.4.1",
"description": "FMI library is intended as a foundation for applications interfacing FMUs (Functional Mockup Units) that follow FMI Standard. This version of the library supports FMI 1.0 and FMI2.0.",
"homepage": "https://www.fmi-standard.org/",
"license": null,
"license": "BSD-3-Clause",
"dependencies": [
{
"name": "vcpkg-cmake",

View File

@ -2481,8 +2481,8 @@
"port-version": 0
},
"fmilib": {
"baseline": "2.0.3",
"port-version": 5
"baseline": "2.4.1",
"port-version": 0
},
"fmt": {
"baseline": "9.1.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "34b7f7cc468b8eecb267b5fd750cb1e602d36248",
"version": "2.4.1",
"port-version": 0
},
{
"git-tree": "c30d1f2f0827e03141bda90fe3ae2b462f93c116",
"version": "2.0.3",