Add volk for function loading (required on platforms such as Android)

This commit is contained in:
2025-11-26 00:10:58 +10:00
parent 952efa784b
commit cfcc0478dc
4 changed files with 33 additions and 1 deletions

View File

@@ -28,6 +28,8 @@ set(NOVA_LIBRARY_INSTALL OFF CACHE BOOL "Enable library installation targets")
set(NOVA_BACKEND_VULKAN ON CACHE BOOL "Enable Vulkan backend")
# set(NOVA_BACKEND_WEBGPU ON CACHE BOOL "Enable WebGPU backend")
set(NOVA_USE_VOLK ON CACHE BOOL "Use volk for Vulkan function loading")
add_compile_definitions(
NOVA_VERSION_MAJOR=${PROJECT_VERSION_MAJOR}
NOVA_VERSION_MINOR=${PROJECT_VERSION_MINOR}