From 0d9eba94dc73366a4a222c90d3f8deccc4cb19c6 Mon Sep 17 00:00:00 2001 From: Yuchen Deng Date: Sun, 28 Oct 2012 17:53:51 +0800 Subject: Angle: Make it call the correct host tools Change-Id: Ib5a0da0ac50e0d2abebc825d6d6105ad5d84acd8 Reviewed-by: Oswald Buddenhagen Reviewed-by: Jason Barron --- src/angle/src/common/common.pri | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/angle/src/common/common.pri b/src/angle/src/common/common.pri index e99080d19f..3313462f63 100644 --- a/src/angle/src/common/common.pri +++ b/src/angle/src/common/common.pri @@ -22,7 +22,11 @@ win32-msvc2012 { DXLIB_DIR = $$quote($${DX_DIR}Lib\\x86) } - FXC = "\"$${DX_DIR}Utilities\\bin\\x86\\fxc.exe\"" + equals(QMAKE_TARGET.arch, x86_64) { + FXC = "\"$${DX_DIR}Utilities\\bin\\x64\\fxc.exe\"" + } else { + FXC = "\"$${DX_DIR}Utilities\\bin\\x86\\fxc.exe\"" + } msvc { # Unfortunately MinGW cannot use the DirectX headers from the DX SDK because d3d11shader.h uses -- cgit v1.2.3