From d928f2d080adaff28b4e52a06fde8647420dffb2 Mon Sep 17 00:00:00 2001 From: Guillaume Bernos Date: Wed, 26 Jun 2024 09:34:42 +0200 Subject: [PATCH] feat: update minimum CMake version to 3.5 --- CMakeLists.txt | 2 +- app/rest/CMakeLists.txt | 2 +- ios_pod/empty_CMakeLists.txt | 2 +- release_build_files/CMakeLists.txt | 2 +- testing/CMakeLists.txt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 194618cd77..45b2feecab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ # Top level CMake file that defines the entire Firebase C++ SDK build. -cmake_minimum_required (VERSION 3.1) +cmake_minimum_required (VERSION 3.5) set (CMAKE_CXX_STANDARD 14) set (CMAKE_CXX_STANDARD_REQUIRED YES) # Don't fall back to an earlier version. diff --git a/app/rest/CMakeLists.txt b/app/rest/CMakeLists.txt index 8d58c94f96..0bfeb82f72 100644 --- a/app/rest/CMakeLists.txt +++ b/app/rest/CMakeLists.txt @@ -14,7 +14,7 @@ # CMake file for the firebase_rest_lib library -cmake_minimum_required (VERSION 3.1) +cmake_minimum_required (VERSION 3.5) # Firebase C++ SDK requires C++14. set (CMAKE_CXX_STANDARD 14) set (CMAKE_CXX_STANDARD_REQUIRED YES) # Don't fall back to an earlier version. diff --git a/ios_pod/empty_CMakeLists.txt b/ios_pod/empty_CMakeLists.txt index b332c81e71..911bf4ea5f 100644 --- a/ios_pod/empty_CMakeLists.txt +++ b/ios_pod/empty_CMakeLists.txt @@ -14,7 +14,7 @@ # Stub cmake project to enable pod files to be installed against -cmake_minimum_required (VERSION 3.1) +cmake_minimum_required (VERSION 3.5) project (GetPods CXX) add_library(GetPods empty.cc) diff --git a/release_build_files/CMakeLists.txt b/release_build_files/CMakeLists.txt index e9e341e0aa..aedd24737b 100644 --- a/release_build_files/CMakeLists.txt +++ b/release_build_files/CMakeLists.txt @@ -14,7 +14,7 @@ # Top level CMake file that defines targets for the Firebase C++ SDK. -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.5) include(FindPkgConfig) diff --git a/testing/CMakeLists.txt b/testing/CMakeLists.txt index 56c07e25bc..c44ae778d6 100644 --- a/testing/CMakeLists.txt +++ b/testing/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.1) +cmake_minimum_required (VERSION 3.5) set (CMAKE_CXX_STANDARD 14) set (CMAKE_CXX_STANDARD_REQUIRED YES) # Don't fall back to an earlier version.