Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2016-11-13 13:01:48 +0300
committerMikkel Krautz <mikkel@krautz.dk>2016-11-13 13:01:48 +0300
commitd9cc484a3eff60e8f5b9fef65682aefe77a69feb (patch)
tree27df28997801af69258b99cb19b5eefbab3d3603 /overlay
parent012cde52d5e5579e8af24634682990604262a54b (diff)
overlay: fall back to fxc.exe on PATH if DXSDK is not set.
This allows the overlay to build with the Windows SDK version of fxc.exe. This removes the need for people developing locally to install the legacy DirectX SDK.
Diffstat (limited to 'overlay')
-rw-r--r--overlay/overlay-shared.pro6
1 files changed, 5 insertions, 1 deletions
diff --git a/overlay/overlay-shared.pro b/overlay/overlay-shared.pro
index 214b9804f..8de618d3c 100644
--- a/overlay/overlay-shared.pro
+++ b/overlay/overlay-shared.pro
@@ -50,7 +50,11 @@ CONFIG(debug, debug|release) {
# Override fxc binary for the x86 build.
CONFIG(force-x86-toolchain) {
- FXC = "\"$$(DXSDK_DIR)\\Utilities\\bin\\x86\\fxc.exe\""
+ exists($$DXSDK_DIR) {
+ FXC = "\"$$(DXSDK_DIR)\\Utilities\\bin\\x86\\fxc.exe\""
+ } else {
+ FXC = fxc.exe
+ }
} else {
FXC = fxc.exe
}