summaryrefslogtreecommitdiffstats
path: root/science-libs
diff options
context:
space:
mode:
authorTreeve Jelbert2016-02-07 12:44:10 +0100
committerTreeve Jelbert2016-02-07 12:44:10 +0100
commita43118164333d1d2c756982e7ce41143cde03506 (patch)
tree60acc8a0568f791ecc1e17557a605881fc48028b /science-libs
parentb68d3162084d1a0bdca82fb2c578b09fcb119a1b (diff)
vtk - choose render backend
Diffstat (limited to 'science-libs')
-rwxr-xr-xscience-libs/vtk/BUILD1
-rwxr-xr-xscience-libs/vtk/CONFIGURE1
-rw-r--r--science-libs/vtk/HISTORY3
3 files changed, 5 insertions, 0 deletions
diff --git a/science-libs/vtk/BUILD b/science-libs/vtk/BUILD
index 8374160c58..1da5dc593c 100755
--- a/science-libs/vtk/BUILD
+++ b/science-libs/vtk/BUILD
@@ -2,6 +2,7 @@ CFLAGS="${CFLAGS//-ffast-math}" &&
CXXFLAGS="${CXXFLAGS//-ffast-math}" &&
OPTS+=" -DVTK_USE_SYSTEM_LIBRARIES=1" &&
OPTS+=" -DVTK_FORBID_DOWNLOADS=1" &&
+OPTS+=" -DVTK_RENDERING_BACKEND_DEFAULT=$VTK_GL" &&
#OPTS+=" -DBUILD_SHARED_LIBS=ON -DVTK_USE_HYBRID=ON" &&
# Building examples fails on VTK 6.1.0
diff --git a/science-libs/vtk/CONFIGURE b/science-libs/vtk/CONFIGURE
index b2f02c3032..c66e2c14e8 100755
--- a/science-libs/vtk/CONFIGURE
+++ b/science-libs/vtk/CONFIGURE
@@ -1 +1,2 @@
source $GRIMOIRE/CMAKE_CONFIGURE
+config_query_list VTK_GL 'which render backend' OpenGL2 OpenGL
diff --git a/science-libs/vtk/HISTORY b/science-libs/vtk/HISTORY
index fe499ec8a1..c14f3f839e 100644
--- a/science-libs/vtk/HISTORY
+++ b/science-libs/vtk/HISTORY
@@ -1,3 +1,6 @@
+2016-02-07 Treeve Jelbert <treeve@sourcemage.org>
+ * BUILD CONFIGURE: choose render backend
+
2016-02-06 Treeve Jelbert <treeve@sourcemage.org>
* DETAILS: version 7.0.0
* DEPENDS: add optional qtwebkit