Android: Fix -p=apk --build-type=Debug not working properly
Adding -DANDROIDDEPLOYQT_EXTRA_ARGS="$EXTRA_ARGS
in the build_krita()
step results in the value being cached by cmake.
E.g say the binaries were built in Release
mode, then
ANDROIDDEPLOYQT_EXTRA_ARGS
's value would be "--release
".
Then say we try to build APK in debug mode, ANDROIDDEPLOYQT
's value
would remain unchanged and would still spit a release APK.
Test
Please check if other cmake generators still work as expected.