projects
/
platform
/
upstream
/
Vulkan-Loader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dca451
)
cmake: Fail when building for Android
author
Juan Ramos
<juan@lunarg.com>
Fri, 25 Aug 2023 17:51:45 +0000
(11:51 -0600)
committer
Juan Ramos
<114601453+juan-lunarg@users.noreply.github.com>
Fri, 25 Aug 2023 18:11:36 +0000
(12:11 -0600)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index c113d55dcadf79225919dbde8e96569ee46cdad2..f9b16f587edbf654716c026c0d132eca8cd4cd45 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-99,7
+99,7
@@
add_library(platform_wsi INTERFACE)
if(WIN32)
target_compile_definitions(platform_wsi INTERFACE VK_USE_PLATFORM_WIN32_KHR)
elseif(ANDROID)
-
target_compile_definitions(platform_wsi INTERFACE VK_USE_PLATFORM_ANDROID_KHR
)
+
message(FATAL_ERROR "Android build not supported!"
)
elseif(APPLE)
target_compile_definitions(platform_wsi INTERFACE VK_USE_PLATFORM_MACOS_MVK VK_USE_PLATFORM_METAL_EXT)
elseif(UNIX AND NOT APPLE) # i.e.: Linux