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")