package vtk: disable gui components in native build

This commit is contained in:
Tony Theodore 2011-11-19 16:52:13 +11:00
parent 262146538f
commit ba3ba7fcd8
1 changed files with 5 additions and 1 deletions

View File

@ -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