changeset 2108:b7f9bc0ecbbd

package vtk: disable gui components in native build
author Tony Theodore <tonyt@logyst.com>
date Sat, 19 Nov 2011 16:52:13 +1100
parents b4f74c721fbe
children cab8ae5a4bcc
files src/vtk.mk
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/vtk.mk	Fri Nov 18 00:51:06 2011 +0100
+++ b/src/vtk.mk	Sat Nov 19 16:52:13 2011 +1100
@@ -23,7 +23,11 @@
 
     # 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' \
+        -DVTK_USE_RENDERING=FALSE \
+        -DVTK_USEINFOVIS=FALSE \
+        ..
     
     # only the newly created CompileTools target need to be built
     $(MAKE) -C '$(1)/native_build' -j '$(JOBS)' VERBOSE=1 CompileTools