Commit 68ffcb1f authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fixed build with Android NDK 17

parent 42ff9b35
......@@ -30,10 +30,14 @@ if(CMAKE_ANDROID_NDK_VERSION VERSION_LESS 16)
set(SUPPORT_SOURCES
"${CMAKE_ANDROID_NDK}/sources/android/support/src/musl-multibyte/wctomb.c"
)
else()
elseif(CMAKE_ANDROID_NDK_VERSION VERSION_LESS 17)
set(SUPPORT_SOURCES
"${CMAKE_ANDROID_NDK}/sources/android/support/src/iswblank.cpp"
)
else()
set(SUPPORT_SOURCES
"${CMAKE_ANDROID_NDK}/sources/android/support/src/locale_support.cpp"
)
endif()
add_library(support STATIC ${SUPPORT_SOURCES})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment