2019-04-29 10:39:52 +00:00
|
|
|
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.
|
2019-07-01 12:36:43 +00:00
|
|
|
QMAKE_INCDIR_VULKAN = $$(VULKAN_SDK)/include
|
2019-04-29 10:39:52 +00:00
|
|
|
|
2019-09-16 12:55:57 +00:00
|
|
|
# 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): \
|
|
|
|
QMAKE_INCDIR_VULKAN =
|
|
|
|
|
2019-04-29 10:39:52 +00:00
|
|
|
# Do not export the include dir but resolve it on every qmake call.
|
|
|
|
QMAKE_EXPORT_INCDIR_VULKAN = -
|
|
|
|
}
|