Setting ANDROID_ABI has no effect, the user should specify CMAKE_ANDROID_ARCH_ABI to select the ABI

This commit is contained in:
Bruno Van de Velde 2023-11-15 15:09:37 +01:00 committed by Chris Thrasher
parent e0f76af21f
commit 18dfcedbd9

View File

@ -86,9 +86,6 @@ if(SFML_OS_ANDROID)
# we install libs in a subdirectory named after the ABI # we install libs in a subdirectory named after the ABI
set(CMAKE_INSTALL_LIBDIR "${CMAKE_INSTALL_LIBDIR}/${CMAKE_ANDROID_ARCH_ABI}") set(CMAKE_INSTALL_LIBDIR "${CMAKE_INSTALL_LIBDIR}/${CMAKE_ANDROID_ARCH_ABI}")
# let the user switch ABIs
set(ANDROID_ABI "armeabi-v7a" CACHE STRING "Look at the NDK docs for currently supported ABIs")
endif() endif()
# Install directories # Install directories