Commit 0405cb24 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fixed build with NDK 19c

parent be14e850
......@@ -53,7 +53,7 @@ if(CMAKE_ANDROID_NDK_VERSION VERSION_LESS 19)
set(CMAKE_FIND_ROOT_PATH "${CMAKE_SYSROOT}" "${ANDROID_SYSTEM_LIBRARY_PATH}" "${CMAKE_INSTALL_PREFIX}")
else()
# NDK 19b needs this, but not NDK 19
if(CMAKE_ANDROID_NDK_VERSION_MINOR VERSION_EQUAL 1)
if(CMAKE_ANDROID_NDK_VERSION_MINOR GREATER_EQUAL 1)
set(CMAKE_FIND_ROOT_PATH "${CMAKE_SYSROOT}" "${ANDROID_SYSTEM_LIBRARY_PATH}" "${CMAKE_INSTALL_PREFIX}")
endif()
endif()
......
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