Tips for fixing embedded build paths
The suggested CMakeLists.txt solution here is not enough, you'll need:
# For NDK path
-ffile-prefix-map=${ANDROID_TOOLCHAIN_ROOT}=
# For project path
-ffile-prefix-map=${CMAKE_SOURCE_DIR}=
-ffile-prefix-map=${CMAKE_BINARY_DIR}=