From 0d251978eafbf32bc5638e844b779b9a79298397 Mon Sep 17 00:00:00 2001 From: Tater Date: Sun, 5 Jan 2025 02:23:37 -0600 Subject: [PATCH] fix android build --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c995c22dc1d..d33d740bebc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -126,6 +126,10 @@ if(TARGET_OS STREQUAL "mac") set(TOOLS ON) endif() +if(TARGET_OS STREQUAL "android") + set(DISCORD OFF) +endif() + if(CMAKE_SYSTEM_NAME STREQUAL "Emscripten") include(${PROJECT_SOURCE_DIR}/cmake/toolchains/Emscripten.toolchain) endif()