summaryrefslogtreecommitdiffstats
path: root/src/vtk.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/vtk.mk')
-rw-r--r--src/vtk.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/vtk.mk b/src/vtk.mk
index 76795d8..4677af7 100644
--- a/src/vtk.mk
+++ b/src/vtk.mk
@@ -23,7 +23,12 @@ define $(PKG)_BUILD
# first we need a native build to create the compile tools
mkdir '$(1)/native_build'
- cd '$(1)/native_build' && cmake -DCMAKE_BUILD_TYPE='Release' ..
+ cd '$(1)/native_build' && cmake \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DBUILD_TESTING=FALSE \
+ -DOPENGL_INCLUDE_DIR='$(1)/Utilities/ParseOGLExt/headers' \
+ -DVTK_USE_RENDERING=FALSE \
+ ..
# only the newly created CompileTools target need to be built
$(MAKE) -C '$(1)/native_build' -j '$(JOBS)' VERBOSE=1 CompileTools