From ba3ba7fcd812865c565e742b3255d0dd7ed47497 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Sat, 19 Nov 2011 16:52:13 +1100 Subject: package vtk: disable gui components in native build --- src/vtk.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/vtk.mk b/src/vtk.mk index 76795d8..1566cc4 100644 --- a/src/vtk.mk +++ b/src/vtk.mk @@ -23,7 +23,11 @@ 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' \ + -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 -- cgit v0.12