mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 11:21:38 +08:00
[vtk] Fix lzma patch (#23444)
* Use interface library for LZMA::LZMA * Update versions * [vtk] bump port version * [vtk] Update version files Co-authored-by: Victor Romero <viromer@microsoft.com>
This commit is contained in:
parent
70d3ac3a17
commit
18cff4b7ad
@ -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
|
||||
|
@ -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",
|
||||
|
@ -7314,7 +7314,7 @@
|
||||
},
|
||||
"vtk": {
|
||||
"baseline": "9.0.3-pv5.9.1",
|
||||
"port-version": 9
|
||||
"port-version": 10
|
||||
},
|
||||
"vtk-dicom": {
|
||||
"baseline": "0.8.12",
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user