summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2011-11-22 13:40:00 (GMT)
committerTony Theodore <tonyt@logyst.com>2011-11-22 13:40:00 (GMT)
commit716c51a0248c70e88e79bea4b02720cef78b3100 (patch)
treeb0ad13f36c5225073ddef60c8ec4f7953f7cd659
parent793d2a88f9a9833c1d15dfac8a1fcbf22b851d9f (diff)
downloadmxe-716c51a0248c70e88e79bea4b02720cef78b3100.zip
mxe-716c51a0248c70e88e79bea4b02720cef78b3100.tar.gz
mxe-716c51a0248c70e88e79bea4b02720cef78b3100.tar.bz2
package vtk:disable directx detection
-rw-r--r--src/vtk.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vtk.mk b/src/vtk.mk
index 4677af7..25e06aa 100644
--- a/src/vtk.mk
+++ b/src/vtk.mk
@@ -33,6 +33,9 @@ define $(PKG)_BUILD
# only the newly created CompileTools target need to be built
$(MAKE) -C '$(1)/native_build' -j '$(JOBS)' VERBOSE=1 CompileTools
+ # DirectX is detected on Mac OSX but requires a DX10 header - dxgi.h
+ rm '$(1)/CMake/FindDirectX.cmake'
+
# now for the cross compilation
mkdir '$(1)/cross_build'
cd '$(1)/cross_build' && cmake \