vtk: fix headless build

This commit is contained in:
Tony Theodore 2017-12-26 19:41:52 +11:00
parent 3fa400c7c3
commit 6784313fa4
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ define $(PKG)_BUILD_$(BUILD)
$(INSTALL) -d '$(PREFIX)/$(BUILD)/vtkCompileTools'
cd '$(PREFIX)/$(BUILD)/vtkCompileTools' && '$(PREFIX)/$(BUILD)/bin/cmake' '$(SOURCE_DIR)' \
-DBUILD_TESTING=FALSE \
-DVTK_USE_X=OFF \
-DVTK_USE_OFFSCREEN=ON \
-DCMAKE_BUILD_TYPE="Release"
$(MAKE) -C '$(PREFIX)/$(BUILD)/vtkCompileTools' -j '$(JOBS)' VERBOSE=1 vtkCompileTools
endef