From 0cb9aa68393ef151faebcd926060e2c0c90473b5 Mon Sep 17 00:00:00 2001 From: Robosturm Date: Sun, 11 Aug 2024 12:00:07 +0200 Subject: [PATCH] android build fix --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a9ca5be24..657724ec9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -233,6 +233,7 @@ if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows") endif() elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Android") if ("${ANDROID_ABI}" STREQUAL armeabi-v7a) + set(CMAKE_C_FLAGS "-Wno-implicit-function-declaration ${CMAKE_C_FLAGS}") add_link_options("-long-plt") endif() elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")