diff options
author | Prashanth Swaminathan <prashanthsw@google.com> | 2024-04-24 20:47:59 +0000 |
---|---|---|
committer | Prashanth Swaminathan <prashanthsw@google.com> | 2024-04-24 20:47:59 +0000 |
commit | b1b8c8771490b286182357d1f2f8418a47e3297c (patch) | |
tree | aaa7cb313ca956a5e7b01f65223311730f0c5388 | |
parent | 431bded8e1a0df936b17526a345d5688efad2009 (diff) | |
download | icing-b1b8c8771490b286182357d1f2f8418a47e3297c.tar.gz |
Set cmake_minimum_required version to 3.22.1androidx-tv-material-releaseandroidx-mainandroidx-graphics-shapes-releaseandroidx-graphics-core-releaseandroidx-compose-material3-adaptive-releaseandroidx-androidx-tv-material-release
On newer NDKs that make use of features like IN_LIST, older
cmake_minimum_required versions used in some of our CMakeLists.txt files
can cause build errors.
As the cmake version used for building is tied to the version
distributed by the NDK toolchain, bump the version across the repository
to the version the NDK supports. This will allow us to freely use the
features in the cmake binary available in the NDK.
Test: ./gradlew assembleRelease
Change-Id: I22a9182ccdaf41cb3a657fd47f35d343c41affbb
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 48a63d4..4b7c752 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -cmake_minimum_required(VERSION 3.10.2) +cmake_minimum_required(VERSION 3.22.1) project(icing) |