Skip to content

Commit

Permalink
fix android build
Browse files Browse the repository at this point in the history
  • Loading branch information
sjrc6 committed Jan 5, 2025
1 parent fe9eb8f commit 0d25197
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 0d25197

Please sign in to comment.