Exclude Android Vulkan sources from Unity Build
If not excluded, `VK_USE_PLATFORM_ANDROID_KHR` might end up being undefined due to the order of includes. Task-number: QTBUG-109394 Change-Id: Ib7bbf42af319568bc39db0b9e5c796d25db3c364 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 972d602ee62421726abfefad4d6d9057c136570b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
30353986f8
commit
1262312566
@ -87,4 +87,7 @@ qt_internal_extend_target(QAndroidIntegrationPlugin CONDITION QT_FEATURE_vulkan
|
||||
SOURCES
|
||||
qandroidplatformvulkaninstance.cpp qandroidplatformvulkaninstance.h
|
||||
qandroidplatformvulkanwindow.cpp qandroidplatformvulkanwindow.h
|
||||
NO_UNITY_BUILD_SOURCES
|
||||
# To avoid undefined symbols due to missing VK_USE_PLATFORM_ANDROID_KHR
|
||||
qandroidplatformvulkaninstance.cpp qandroidplatformvulkanwindow.cpp
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user