diff --git a/CMakeLists.txt b/CMakeLists.txt index 194618cd7..45b2feeca 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 8d58c94f9..0bfeb82f7 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 b332c81e7..911bf4ea5 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 e9e341e0a..aedd24737 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 56c07e25b..c44ae778d 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.