aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorJohan Pauwels <jpauwels@users.noreply.github.com>2021-08-26 18:07:38 +0100
committerGitHub <noreply@github.com>2021-08-26 10:07:38 -0700
commite0a5659774a65988fe1a8d3a9b1061efb0481336 (patch)
treeb1dfc50174b25d8973aeb6556d511c20c13103f0 /ports
parent410a157896064d4f87df2190a0845044a01aa3a3 (diff)
downloadvcpkg-e0a5659774a65988fe1a8d3a9b1061efb0481336.tar.gz
vcpkg-e0a5659774a65988fe1a8d3a9b1061efb0481336.zip
[vtk] Fix OpenGL feature (#19735)
* [vtk] Fix typo that breaks OpenGL feature Missspelled "VTK_MODULE_ENABLE_VTK_DomainsChemistryOpenGL2" * [vtk] Bump version
Diffstat (limited to 'ports')
-rw-r--r--ports/vtk/CONTROL4
-rw-r--r--ports/vtk/portfile.cmake7
2 files changed, 6 insertions, 5 deletions
diff --git a/ports/vtk/CONTROL b/ports/vtk/CONTROL
index cd76b37bb..64ca10961 100644
--- a/ports/vtk/CONTROL
+++ b/ports/vtk/CONTROL
@@ -1,6 +1,6 @@
Source: vtk
Version: 9.0.1
-Port-Version: 6
+Port-Version: 7
Description: Software system for 3D computer graphics, image processing, and visualization
Homepage: https://github.com/Kitware/VTK
Build-Depends: zlib, libpng, tiff, libxml2, jsoncpp, glew, freetype, expat, hdf5[core], libjpeg-turbo, proj4, lz4, liblzma, libtheora, eigen3, double-conversion, pugixml, libharu[notiffsymbols], sqlite3, netcdf-c, utfcpp, libogg, pegtl-2
@@ -47,4 +47,4 @@ Build-Depends: vtk[core]
Feature: all
Description: Build all vtk modules
-Build-Depends: libmysql, ffmpeg, gdal, vtk[core, qt, python, mpi], vtk[core, atlmfc, utf8] (windows) \ No newline at end of file
+Build-Depends: libmysql, ffmpeg, gdal, vtk[core, qt, python, mpi], vtk[core, atlmfc, utf8] (windows)
diff --git a/ports/vtk/portfile.cmake b/ports/vtk/portfile.cmake
index 596731a33..79dec0b47 100644
--- a/ports/vtk/portfile.cmake
+++ b/ports/vtk/portfile.cmake
@@ -80,7 +80,7 @@ endif()
if("opengl" IN_LIST FEATURES)
list(APPEND ADDITIONAL_OPTIONS
- -DVTK_MODULE_ENABLE_VTK_DomainsChemestryOpenGL2=YES
+ -DVTK_MODULE_ENABLE_VTK_DomainsChemistryOpenGL2=YES
-DVTK_MODULE_ENABLE_VTK_ImagingOpenGL2=YES
-DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=YES
-DVTK_MODULE_ENABLE_VTK_RenderingGL2PSOpenGL2=YES
@@ -114,8 +114,9 @@ if("all" IN_LIST FEATURES)
endif()
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
- "cuda" VTK_USE_CUDA
- "all" VTK_BUILD_ALL_MODULES
+ FEATURES
+ "cuda" VTK_USE_CUDA
+ "all" VTK_BUILD_ALL_MODULES
)