diff --git a/ports/vtk/FindLZMA.patch b/ports/vtk/FindLZMA.patch index aacafcb367276d..990f2b2ae5ccc9 100644 --- a/ports/vtk/FindLZMA.patch +++ b/ports/vtk/FindLZMA.patch @@ -2,12 +2,13 @@ diff --git a/CMake/FindLZMA.cmake b/CMake/FindLZMA.cmake index 0c8c794..796558c 100644 --- a/CMake/FindLZMA.cmake +++ b/CMake/FindLZMA.cmake -@@ -1,3 +1,10 @@ +@@ -1,3 +1,11 @@ +find_package(LibLZMA) +set(LZMA_INCLUDE_DIR "${LIBLZMA_INCLUDE_DIR}" CACHE INTERNAL "") +set(LZMA_LIBRARY "${LIBLZMA_LIBRARIES}" CACHE INTERNAL "") +if(NOT TARGET LZMA::LZMA) -+ add_library(LZMA::LZMA ALIAS LibLZMA::LibLZMA) ++ add_library(LZMA::LZMA INTERFACE IMPORTED) ++ target_link_libraries(LZMA::LZMA INTERFACE LibLZMA::LibLZMA) +endif() + find_path(LZMA_INCLUDE_DIR diff --git a/ports/vtk/vcpkg.json b/ports/vtk/vcpkg.json index 426ffdd13537b1..fb5a115dc61b69 100644 --- a/ports/vtk/vcpkg.json +++ b/ports/vtk/vcpkg.json @@ -1,7 +1,7 @@ { "name": "vtk", "version-semver": "9.0.3-pv5.9.1", - "port-version": 9, + "port-version": 10, "description": "Software system for 3D computer graphics, image processing, and visualization", "homepage": "https://github.com/Kitware/VTK", "license": "BSD-3-Clause", diff --git a/versions/baseline.json b/versions/baseline.json index 0bd88f0e03e2ba..74d95834cdd0b9 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7298,7 +7298,7 @@ }, "vtk": { "baseline": "9.0.3-pv5.9.1", - "port-version": 9 + "port-version": 10 }, "vtk-dicom": { "baseline": "0.8.12", diff --git a/versions/v-/vtk.json b/versions/v-/vtk.json index d1def2d959d199..d7362563531e1c 100644 --- a/versions/v-/vtk.json +++ b/versions/v-/vtk.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "6a7eea485be980aa5c9fae1e0a75084f98e5dc27", + "version-semver": "9.0.3-pv5.9.1", + "port-version": 10 + }, { "git-tree": "3fa106f1a3c80a3ad15d8db406067c5253decc8e", "version-semver": "9.0.3-pv5.9.1",