Skip to content

Commit

Permalink
Fix Android builds
Browse files Browse the repository at this point in the history
  • Loading branch information
corporateshark committed Sep 28, 2023
1 parent 18c008b commit 686447a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 686447a

Please sign in to comment.