Skip to content

Commit

Permalink
feat: update minimum CMake version to 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyokone committed Jun 26, 2024
1 parent d170cb6 commit d928f2d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion app/rest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion ios_pod/empty_CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion release_build_files/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion testing/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit d928f2d

Please sign in to comment.