aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngus Comrie <accomrie@gmail.com>2021-04-02 21:39:17 +0200
committerGitHub <noreply@github.com>2021-04-02 12:39:17 -0700
commit92608fb8b00384c504e95ffd4f5b84f5c492fa8a (patch)
treef2079ba56c258262d53d76cf7b1d57d3e2f16aba
parent2afee4c5aad8f936ea2bbe58dcdff96d2eadc258 (diff)
downloadvcpkg-92608fb8b00384c504e95ffd4f5b84f5c492fa8a.tar.gz
vcpkg-92608fb8b00384c504e95ffd4f5b84f5c492fa8a.zip
[vtk] enables openvr module when openvr is listed (#17015)
* enables openvr module when openvr is listed * bumped port number * add version bump to json files
-rw-r--r--ports/vtk/CONTROL2
-rw-r--r--ports/vtk/portfile.cmake6
-rw-r--r--versions/baseline.json2
-rw-r--r--versions/v-/vtk.json5
4 files changed, 13 insertions, 2 deletions
diff --git a/ports/vtk/CONTROL b/ports/vtk/CONTROL
index 058530581..cd76b37bb 100644
--- a/ports/vtk/CONTROL
+++ b/ports/vtk/CONTROL
@@ -1,6 +1,6 @@
Source: vtk
Version: 9.0.1
-Port-Version: 5
+Port-Version: 6
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
diff --git a/ports/vtk/portfile.cmake b/ports/vtk/portfile.cmake
index ecbd2be3a..596731a33 100644
--- a/ports/vtk/portfile.cmake
+++ b/ports/vtk/portfile.cmake
@@ -91,6 +91,12 @@ if("opengl" IN_LIST FEATURES)
)
endif()
+if ("openvr" IN_LIST FEATURES)
+ list(APPEND ADDITIONAL_OPTIONS
+ -DVTK_MODULE_ENABLE_VTK_RenderingOpenVR=YES
+ )
+endif()
+
if("cuda" IN_LIST FEATURES AND CMAKE_HOST_WIN32)
vcpkg_add_to_path("$ENV{CUDA_PATH}/bin")
endif()
diff --git a/versions/baseline.json b/versions/baseline.json
index ea0d48d37..005e80a75 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -6290,7 +6290,7 @@
},
"vtk": {
"baseline": "9.0.1",
- "port-version": 5
+ "port-version": 6
},
"vtk-dicom": {
"baseline": "0.8.12-1",
diff --git a/versions/v-/vtk.json b/versions/v-/vtk.json
index 3eee5db7b..df66e2cb6 100644
--- a/versions/v-/vtk.json
+++ b/versions/v-/vtk.json
@@ -1,6 +1,11 @@
{
"versions": [
{
+ "git-tree": "78be7ee36f34395e4d5511fd61457c4f7178a438",
+ "version-string": "9.0.1",
+ "port-version": 6
+ },
+ {
"git-tree": "88d95daae73bf5c3413bb18188c81f9ea752e418",
"version-string": "9.0.1",
"port-version": 5