[cgns] fix core build on windows (#33269)

This commit is contained in:
autoantwort 2023-08-21 20:54:51 +02:00 committed by GitHub
parent 9e65a26ba2
commit 1f16bc3847
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 8 deletions

View File

@ -57,13 +57,12 @@ vcpkg_copy_tools(
AUTO_CLEAN
)
if(VCPKG_TARGET_IS_WINDOWS)
set(TOOLS "adf2hdf.bat" "hdf2adf.bat" "cgnsupdate.bat")
elseif(VCPKG_TARGET_IS_LINUX)
set(TOOLS "cgnsupdate")
if("hdf5" IN_LIST FEATURES)
list(APPEND TOOLS "adf2hdf" "hdf2adf")
endif()
if(VCPKG_TARGET_IS_WINDOWS)
list(TRANSFORM TOOLS APPEND ".bat")
endif()
foreach(TOOL ${TOOLS})

View File

@ -1,7 +1,7 @@
{
"name": "cgns",
"version-semver": "4.3.0",
"port-version": 4,
"port-version": 5,
"description": "The CFD General Notation System (CGNS) provides a standard for recording and recovering computer data associated with the numerical solution of fluid dynamics equations.",
"homepage": "http://cgns.org/",
"license": "Zlib",

View File

@ -1498,7 +1498,7 @@
},
"cgns": {
"baseline": "4.3.0",
"port-version": 4
"port-version": 5
},
"chaiscript": {
"baseline": "6.1.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9d4b2d4f75c71bf4a4b66a6cb8bf79e119be4dd7",
"version-semver": "4.3.0",
"port-version": 5
},
{
"git-tree": "98f56fa77d5ab2c24d5d8a9932129626feb65df5",
"version-semver": "4.3.0",