From 686447a67ec573f11c17b23dc4a511e122454cae Mon Sep 17 00:00:00 2001 From: Sergey Kosarevsky Date: Thu, 28 Sep 2023 15:46:23 -0700 Subject: [PATCH] Fix Android builds --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fd0ccb601ea..1f44b2c406f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -251,7 +251,9 @@ if (NOT EMSCRIPTEN) set(KTX_FEATURE_TOOLS OFF CACHE BOOL "") set(KTX_FEATURE_VK_UPLOAD OFF CACHE BOOL "") add_subdirectory(third-party/deps/src/ktx-software) - igl_set_folder(astcenc-avx2-static "third-party/ktx-software") + if(NOT ANDROID) + igl_set_folder(astcenc-avx2-static "third-party/ktx-software") + endif() igl_set_folder(ktx "third-party/ktx-software") igl_set_folder(ktx_read "third-party/ktx-software") igl_set_folder(ktx_version "third-party/ktx-software")