Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Error:
The Ninja generator does not support C++20 modules using Ninja version
1.8.2
due to lack of required features. Ninja 1.11 or higher is required.
CMake Error in external/dex_builder/CMakeLists.txt:
The target named "dex_builder_static" has C++ sources that may use modules,
but modules are not supported by this generator:
Ninja
Modules are supported only by Ninja, Ninja Multi-Config, and Visual Studio
generators for VS 17.4 and newer. See the cmake-cxxmodules(7) manual for
details. Use the CMAKE_CXX_SCAN_FOR_MODULES variable to enable or disable
scanning.
AS最新的cmake版本是3.22.1,而工程代码要求cmake版本是3.28.0+
导致编译不通过,报了如下错误:
CMake Error: The Ninja generator does not support C++20 modules using Ninja version
CMake Error in external/dex_builder/CMakeLists.txt: The target named "dex_builder_static" has C++ sources that may use modules, but modules are not supported by this generator: