summaryrefslogtreecommitdiffstats
path: root/src/vtk.mk
diff options
context:
space:
mode:
authorMuellni <mmuellen@gmx.de>2011-10-31 08:04:03 (GMT)
committerMuellni <mmuellen@gmx.de>2011-10-31 08:04:03 (GMT)
commitf8e628bfb81b1008d31c58339011419bb0137206 (patch)
treed4419a74c744cbf5d517d9480a77f7170cf70b12 /src/vtk.mk
parentb9fb471ab09408ae839ff737f79587ffafed63b4 (diff)
downloadmxe-f8e628bfb81b1008d31c58339011419bb0137206.zip
mxe-f8e628bfb81b1008d31c58339011419bb0137206.tar.gz
mxe-f8e628bfb81b1008d31c58339011419bb0137206.tar.bz2
vtk patch for building without wine
Diffstat (limited to 'src/vtk.mk')
-rw-r--r--src/vtk.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/vtk.mk b/src/vtk.mk
index 6382571..c69ca87 100644
--- a/src/vtk.mk
+++ b/src/vtk.mk
@@ -16,12 +16,17 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
+
+ # first we need a native build for compile tools
mkdir '$(1)/native_build'
cd '$(1)/native_build' && cmake \
-DCMAKE_INSTALL_PREFIX='$(PREFIX)/$(TARGET)'\
+ -DCMAKE_BUILD_TYPE='Release'\
..
+ # only the Utilities need to be built
$(MAKE) -C '$(1)/native_build/Utilities' -j '$(JOBS)' VERBOSE=1
-
+
+ # now for the cross compilation
mkdir '$(1)/cross_build'
cd '$(1)/cross_build' && cmake \
-C '$(1)/TryRunResults.cmake'\