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>
This commit is contained in:
parent
21a66c167d
commit
b56ed4da74
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user