Skip to content

Commit

Permalink
CMake: standardize minimum version of 3.10
Browse files Browse the repository at this point in the history
This prevents a deprecation warning. Also make formatting consistent.
  • Loading branch information
throwaway96 committed Sep 2, 2023
1 parent 538f73c commit 04b74e1
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
@@ -1,4 +1,4 @@
cmake_minimum_required ( VERSION 3.10 FATAL_ERROR )
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_SOURCE_DIR}/cmake")
find_package(Dotnet 2.0 REQUIRED)

Expand Down
2 changes: 1 addition & 1 deletion cmake/msbuild2cmake.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# `TARGET`, which is the name of the target (defined in CMakeLists.txt) to build
#

cmake_minimum_required ( VERSION 3.10 FATAL_ERROR )
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)

function(check_msys output)
execute_process(
Expand Down
2 changes: 1 addition & 1 deletion src/Native/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)

project(reko-native)

Expand Down
2 changes: 1 addition & 1 deletion src/Native/reko.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required ( VERSION 3.10 FATAL_ERROR )
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
list(INSERT CMAKE_MODULE_PATH 0 "${REKO_SRC}/../cmake")

include(msbuild2cmake)
Expand Down
2 changes: 1 addition & 1 deletion src/reko.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required ( VERSION 3.10 FATAL_ERROR )
cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
list(INSERT CMAKE_MODULE_PATH 0 "${REKO_SRC}/../cmake")

include(msbuild2cmake)
Expand Down

0 comments on commit 04b74e1

Please sign in to comment.