From ea67f29e10363d2f96d31c3f464b11b0212265a4 Mon Sep 17 00:00:00 2001 From: Charles Giessen Date: Thu, 11 Jul 2024 16:08:23 -0500 Subject: [PATCH] cmake: Dont require Loader on ANDROID --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d7f464d6f..5580c471f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,7 +57,7 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON) find_package(VulkanHeaders QUIET REQUIRED CONFIG) find_package(volk REQUIRED QUIET REQUIRED CONFIG) -if (APPLE OR BUILD_TESTS) +if ((APPLE OR BUILD_TESTS) AND NOT ANDROID) find_package(VulkanLoader QUIET REQUIRED CONFIG) endif()