Skip to content

Commit 7652ad7

Browse files
authored
chore: update minimum cmake version to 3.22 (#1812)
* chore: update minimum cmake version to 3.30 * Chore: update to 3.22 3.30 was causing issues with the Android builds so it makes more sense to start with a 3.22 upgrade and then try for 4.X upgrade later. We will still get most of pros when doing this upgrade anyways. * fixup: the change now requires a cxx label so its included * Fix up the project name changed an removed comments * Make project name consistent
1 parent feeb0dd commit 7652ad7

35 files changed

Lines changed: 37 additions & 35 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# Top level CMake file that defines the entire Firebase C++ SDK build.
1616

17-
cmake_minimum_required (VERSION 3.1)
17+
cmake_minimum_required(VERSION 3.22)
1818

1919
set (CMAKE_CXX_STANDARD 14)
2020
set (CMAKE_CXX_STANDARD_REQUIRED YES) # Don't fall back to an earlier version.

analytics/integration_test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# Cmake file for a single C++ integration test build.
1616

17-
cmake_minimum_required(VERSION 2.8)
17+
cmake_minimum_required(VERSION 3.22)
1818

1919
find_program(FIREBASE_PYTHON_EXECUTABLE
2020
NAMES python3 python

analytics/integration_test/googletest.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# This CMake file is taken from:
1919
# https://github.com/google/googletest/blob/master/googletest/README.md#incorporating-into-an-existing-cmake-project
2020

21-
cmake_minimum_required(VERSION 2.8.2)
21+
cmake_minimum_required(VERSION 3.22)
2222

2323
project(googletest-download NONE)
2424

app/integration_test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# Cmake file for a single C++ integration test build.
1616

17-
cmake_minimum_required(VERSION 2.8)
17+
cmake_minimum_required(VERSION 3.22)
1818

1919
find_program(FIREBASE_PYTHON_EXECUTABLE
2020
NAMES python3 python

app/integration_test/googletest.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# This CMake file is taken from:
1919
# https://github.com/google/googletest/blob/master/googletest/README.md#incorporating-into-an-existing-cmake-project
2020

21-
cmake_minimum_required(VERSION 2.8.2)
21+
cmake_minimum_required(VERSION 3.22)
2222

2323
project(googletest-download NONE)
2424

app/rest/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# CMake file for the firebase_rest_lib library
1616

17-
cmake_minimum_required (VERSION 3.1)
17+
cmake_minimum_required(VERSION 3.22)
1818
# Firebase C++ SDK requires C++14.
1919
set (CMAKE_CXX_STANDARD 14)
2020
set (CMAKE_CXX_STANDARD_REQUIRED YES) # Don't fall back to an earlier version.

app_check/integration_test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# Cmake file for a single C++ integration test build.
1616

17-
cmake_minimum_required(VERSION 2.8)
17+
cmake_minimum_required(VERSION 3.22)
1818

1919
find_program(FIREBASE_PYTHON_EXECUTABLE
2020
NAMES python3 python

app_check/integration_test/googletest.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# This CMake file is taken from:
1919
# https://github.com/google/googletest/blob/master/googletest/README.md#incorporating-into-an-existing-cmake-project
2020

21-
cmake_minimum_required(VERSION 2.8.2)
21+
cmake_minimum_required(VERSION 3.22)
2222

2323
project(googletest-download NONE)
2424

auth/integration_test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# Cmake file for a single C++ integration test build.
1616

17-
cmake_minimum_required(VERSION 2.8)
17+
cmake_minimum_required(VERSION 3.22)
1818

1919
find_program(FIREBASE_PYTHON_EXECUTABLE
2020
NAMES python3 python

auth/integration_test/googletest.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# This CMake file is taken from:
1919
# https://github.com/google/googletest/blob/master/googletest/README.md#incorporating-into-an-existing-cmake-project
2020

21-
cmake_minimum_required(VERSION 2.8.2)
21+
cmake_minimum_required(VERSION 3.22)
2222

2323
project(googletest-download NONE)
2424

0 commit comments

Comments
 (0)