Skip to content

Commit

Permalink
Try One cmake minimum to rule them all
Browse files Browse the repository at this point in the history
  • Loading branch information
dougmassay committed Jan 9, 2024
1 parent d0bb2b2 commit cc8206f
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion 3rdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
cmake_minimum_required(VERSION 3.0)
# Default to cmake minimum in master CMakeLists.txt file
# cmake_minimum_required(VERSION 3.5)

project(3rdparty)

Expand Down
3 changes: 2 additions & 1 deletion 3rdparty/cmake/hunspell.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
cmake_minimum_required( VERSION 3.5 )
# Default to cmake minimum in master CMakeLists.txt file
# cmake_minimum_required( VERSION 3.5 )

PROJECT(hunspell CXX)

Expand Down
3 changes: 2 additions & 1 deletion 3rdparty/cmake/minizip.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
cmake_minimum_required(VERSION 3.5)
# Default to cmake minimum in master CMakeLists.txt file
# cmake_minimum_required(VERSION 3.5)

project(minizip C)

Expand Down
3 changes: 2 additions & 1 deletion 3rdparty/cmake/pcre2.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
cmake_minimum_required(VERSION 3.5)
# Default to cmake minimum in master CMakeLists.txt file
# cmake_minimum_required(VERSION 3.5)

project(pcre2 C)

Expand Down
3 changes: 2 additions & 1 deletion 3rdparty/cmake/zlib.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
cmake_minimum_required( VERSION 3.5 )
# Default to cmake minimum in master CMakeLists.txt file
# cmake_minimum_required( VERSION 3.5 )

PROJECT(zlib C)

Expand Down
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
#
#########################################################

cmake_minimum_required( VERSION 3.0 )
# Hard minimum version of cmake for all sub projects and Sigil
cmake_minimum_required( VERSION 3.5 )

project( Sigil )

Expand Down
3 changes: 2 additions & 1 deletion internal/gumbo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
#
#########################################################

cmake_minimum_required( VERSION 3.0 )
# Default to cmake minimum in master CMakeLists.txt file
# cmake_minimum_required( VERSION 3.5 )

project( sigilgumbo C )

Expand Down

0 comments on commit cc8206f

Please sign in to comment.