mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 13:32:50 +08:00
[vtk-m] no absolute paths (#29110)
This commit is contained in:
parent
09e2d94ee1
commit
f5aa25d46f
@ -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")
|
||||
|
||||
|
@ -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,
|
||||
|
@ -8066,7 +8066,7 @@
|
||||
},
|
||||
"vtk-m": {
|
||||
"baseline": "1.9.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"vulkan": {
|
||||
"baseline": "1.1.82.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "7df5e71334a22b5dc19ffb3c02880554b2838f86",
|
||||
"version": "1.9.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "48465076980827e86cf3c53f4834a74812223d2e",
|
||||
"version": "1.9.0",
|
||||
|
Loading…
Reference in New Issue
Block a user