[vtk-m] no absolute paths (#29110)

This commit is contained in:
autoantwort 2023-01-24 09:39:33 +01:00 committed by GitHub
parent 09e2d94ee1
commit f5aa25d46f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 1 deletions

View File

@ -55,6 +55,14 @@ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/vtkm/VTKmConfig.cmake"
[[set_and_check(VTKm_CONFIG_DIR "${PACKAGE_PREFIX_DIR}/share/vtkm")]])
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/vtkm/VTKmConfig.cmake" "${CURRENT_BUILDTREES_DIR}" "not/existing/buildtree")
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/lib/pkgconfig")
file(RENAME "${CURRENT_PACKAGES_DIR}/share/vtkm-1.9/vtkm.pc" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/vtkm.pc")
if(NOT VCPKG_BUILD_TYPE)
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig")
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/share/vtkm-1.9/vtkm.pc" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/vtkm.pc")
endif()
vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

View File

@ -1,6 +1,7 @@
{
"name": "vtk-m",
"version": "1.9.0",
"port-version": 1,
"description": "VTK-m is a toolkit of scientific visualization algorithms for emerging processor architectures.",
"homepage": "https://gitlab.kitware.com/vtk/vtk-m/",
"license": null,

View File

@ -8066,7 +8066,7 @@
},
"vtk-m": {
"baseline": "1.9.0",
"port-version": 0
"port-version": 1
},
"vulkan": {
"baseline": "1.1.82.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7df5e71334a22b5dc19ffb3c02880554b2838f86",
"version": "1.9.0",
"port-version": 1
},
{
"git-tree": "48465076980827e86cf3c53f4834a74812223d2e",
"version": "1.9.0",