summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/win32
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-05-06 01:00:13 +0200
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-05-06 01:00:13 +0200
commite4e5a1f0b7f85b4c8b593a06a67d83f5be09004e (patch)
treedac64fe28e21f02938be5c726002b379750fe7ad /mkspecs/features/win32
parent615b02bfa2fb861f362c511087e6962660c25ea3 (diff)
parenta50b29d65bddae44aedfd9372502f656656803d5 (diff)
Merge remote-tracking branch 'origin/5.12' into 5.13
Diffstat (limited to 'mkspecs/features/win32')
-rw-r--r--mkspecs/features/win32/windows_vulkan_sdk.prf8
1 files changed, 8 insertions, 0 deletions
diff --git a/mkspecs/features/win32/windows_vulkan_sdk.prf b/mkspecs/features/win32/windows_vulkan_sdk.prf
new file mode 100644
index 0000000000..6c08e28fe9
--- /dev/null
+++ b/mkspecs/features/win32/windows_vulkan_sdk.prf
@@ -0,0 +1,8 @@
+isEmpty(QMAKE_INCDIR_VULKAN) {
+ # Pick up the VULKAN_SDK env var set by the LunarG SDK so that the Vulkan
+ # headers are found out-of-the-box on typical Windows setups.
+ QMAKE_INCDIR_VULKAN = $$(VULKAN_SDK)\\include
+
+ # Do not export the include dir but resolve it on every qmake call.
+ QMAKE_EXPORT_INCDIR_VULKAN = -
+}