summaryrefslogtreecommitdiffstats
path: root/src/vtk6.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/vtk6.mk')
-rw-r--r--src/vtk6.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/vtk6.mk b/src/vtk6.mk
index 05fec10..7891466 100644
--- a/src/vtk6.mk
+++ b/src/vtk6.mk
@@ -39,9 +39,8 @@ define $(PKG)_BUILD
# now the cross compilation
mkdir '$(1).cross_build'
- cd '$(1).cross_build' && cmake \
+ cd '$(1).cross_build' && '$(TARGET)-cmake' \
-C '$(1)/TryRunResults.cmake' \
- -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
-DVTKCompileTools_DIR='$(1).native_build' \
-DBUILD_SHARED_LIBS=$(if $(BUILD_STATIC),FALSE,TRUE) \
-DModule_vtkGUISupportQt=TRUE \
@@ -59,8 +58,7 @@ define $(PKG)_BUILD
#now build the GUI -> Qt -> SimpleView Example
mkdir '$(1).test'
- cd '$(1).test' && cmake \
- -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
+ cd '$(1).test' && '$(TARGET)-cmake' \
'$(1)/Examples/GUI/Qt/SimpleView'
$(MAKE) -C '$(1).test' -j '$(JOBS)' VERBOSE=1
endef