mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 06:22:56 +08:00
[ITK] Fix ITK linker error on usage (#27187)
* Don't build gtest * Update versions
This commit is contained in:
parent
aed63d2200
commit
a1109c9e55
12
ports/itk/dont-build-gtest.patch
Normal file
12
ports/itk/dont-build-gtest.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/Modules/ThirdParty/GoogleTest/itk-module.cmake b/Modules/ThirdParty/GoogleTest/itk-module.cmake
|
||||
index 5571748129..19ebb60885 100644
|
||||
--- a/Modules/ThirdParty/GoogleTest/itk-module.cmake
|
||||
+++ b/Modules/ThirdParty/GoogleTest/itk-module.cmake
|
||||
@@ -3,6 +3,7 @@ Google's C++ test framework.")
|
||||
|
||||
itk_module(ITKGoogleTest
|
||||
DEPENDS
|
||||
+ EXCLUDE_FROM_DEFAULT
|
||||
DESCRIPTION
|
||||
"${DOCUMENTATION}"
|
||||
)
|
@ -14,6 +14,7 @@ vcpkg_from_github(
|
||||
wrapping.patch
|
||||
opencl.patch
|
||||
use-the-lrintf-intrinsic.patch
|
||||
dont-build-gtest.patch
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "itk",
|
||||
"version": "5.2.1",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Insight Segmentation and Registration Toolkit (ITK) is used for image processing and analysis.",
|
||||
"homepage": "https://github.com/InsightSoftwareConsortium/ITK",
|
||||
"license": "Apache-2.0",
|
||||
@ -14,7 +14,6 @@
|
||||
"default-features": false
|
||||
},
|
||||
"gdcm",
|
||||
"gtest",
|
||||
{
|
||||
"name": "hdf5",
|
||||
"default-features": false,
|
||||
|
@ -3142,7 +3142,7 @@
|
||||
},
|
||||
"itk": {
|
||||
"baseline": "5.2.1",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"itpp": {
|
||||
"baseline": "4.3.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "e22b353e8f00bcdc12b78d414a712a3498a2d0d6",
|
||||
"version": "5.2.1",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "21beac1c375ce633f869566345d7418849633c3e",
|
||||
"version": "5.2.1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user