SUMMARY ECM (extra-cmake-modules) Android.cmake uses SORT type NATURAL, that is not available in system cmake version. According to cmake manual this type of sorting is available in cmake >= 3.18, while current system cmake is 3.16.3. The installed version of Android.cmake (from package extra-cmake-modules 5.77.0-0xneon+20.04+focal+build12) claims that required cmake version is 3.7. This has been corrected upstream with commit: 3f466f67e15bb285b7041a0b6b85d72ffb98e059. STEPS TO REPRODUCE 1. Install system cmake and extra-cmake-modules 2. Try to build https://github.com/KDE/kirigami-gallery for Android OBSERVED RESULT Build fails with error: CMake Error at /usr/share/ECM/toolchain/Android.cmake:145 (list): list sub-command SORT value "NATURAL" for option "COMPARE" is invalid. EXPECTED RESULT Build completes without error. SOFTWARE/OS VERSIONS Operating System: KDE neon 5.20 KDE Plasma Version: 5.20.4 KDE Frameworks Version: 5.77.0 Qt Version: 5.15.2 Kernel Version: 5.4.0-58-generic OS Type: 64-bit Processors: 4 × Intel® Core™ i7-3520M CPU @ 2.90GHz Memory: 7,5 GiB of RAM Graphics Processor: Mesa DRI Intel® HD Graphics 4000