Support for WebGPU backend in iOS SDK, core (#4103)

This commit is contained in:
Birk Skyum
2026-02-28 23:25:19 +01:00
committed by GitHub
parent 57a14cf110
commit 10453c1ec4
23 changed files with 1366 additions and 72 deletions

View File

@@ -9,14 +9,7 @@ elseif(CMAKE_ANDROID_ARCH_ABI STREQUAL "x86")
endif()
set(_wgpu_lib_name "libwgpu_native.a")
macro(mln_wgpu_android_find_library)
foreach(_search_path ${_wgpu_lib_search_paths})
if(EXISTS "${_search_path}/${_wgpu_lib_name}")
set(WGPU_LIBRARY "${_search_path}/${_wgpu_lib_name}" CACHE FILEPATH "wgpu-native library")
break()
endif()
endforeach()
endmacro()
macro(mln_wgpu_android_link_library target)
find_package(Threads REQUIRED)