6288c12bb4
Do not store this variable locally, because a) it might change if the SDK location changes b) does not play well with Qt installer packages which would provide the include path of the build machine. To achieve this we introduce the (usual) magic value - for QMAKE_EXPORT_INCDIR_VULKAN to denote "do not export this value". Fixes: QTBUG-73796 Change-Id: Ied26ee12cbcdf7f5f6e1caef5d29dadf6309c5d6 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
9 lines
335 B
Plaintext
9 lines
335 B
Plaintext
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 = -
|
|
}
|