Use the ones from the NDK. Specifically, in the cmake step, define
-
-DCMAKE_TOOLCHAIN_FILE=<android-sdk>/ndk/21.3.6528147/build/cmake/android.toolchain.cmake, -
-DANDROID_ABI(for example=arm64-v8a), -
-DANDROID_PLATFORM(for example=android-28).