Skip to content

Commit

Permalink
android build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Robosturm committed Aug 11, 2024
1 parent 8259eae commit 0cb9aa6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 0cb9aa6

Please sign in to comment.