summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2020-05-11 14:24:57 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-09-15 08:41:57 +0000
commit7d3884f7296dd4b27aad492aab9a1dcbbea2b89d (patch)
tree68447fea15e89f609f58d0deb4d6756fa4a4e273 /mkspecs
parentd649d5863c95f7512405965a18b54b2e445b1ece (diff)
re_escape QMAKE_INCDIR_VULKAN
Avoid getting errors like the following: Encountered invalid regular expression 'C:\VulkanSDK\1.2.131.2/include'" Change-Id: I734995878d24bc124f486fb5145ea64d0d5a9c64 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit b56ed4da746e0b1f1b4f4e9fba6b857a3e050399) Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/win32/windows_vulkan_sdk.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/win32/windows_vulkan_sdk.prf b/mkspecs/features/win32/windows_vulkan_sdk.prf
index 4dc0e50090..a3c6a7427d 100644
--- a/mkspecs/features/win32/windows_vulkan_sdk.prf
+++ b/mkspecs/features/win32/windows_vulkan_sdk.prf
@@ -5,7 +5,7 @@ isEmpty(QMAKE_INCDIR_VULKAN) {
# Do not add default include paths as that can knock std headers
# out of their stride due to their usage of #include_next.
- contains(QMAKE_DEFAULT_INCDIRS, $$QMAKE_INCDIR_VULKAN): \
+ contains(QMAKE_DEFAULT_INCDIRS, $$re_escape($$QMAKE_INCDIR_VULKAN)): \
QMAKE_INCDIR_VULKAN =
# Do not export the include dir but resolve it on every qmake call.