Skip to content

Commit

Permalink
make cmake 3.18 the new minimum to cleanup warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhendricks committed Dec 2, 2024
1 parent 08a8f18 commit 3907ad3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions 3rdparty/pcre2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@
# 2023-01-15 Carlo added C99 as the minimum required
# 2023-08-06 PH added support for setting variable length lookbehind maximum

# Increased minimum to 3.5 to workaround deprecated backward compatibility
# since 3.27.
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
# Increased minimum to 3.18 to workaround deprecated backward compatibility
# since in more recent cmakes
cmake_minimum_required(VERSION 3.18 FATAL_ERROR)
project(PCRE2 C)
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_STANDARD_REQUIRED TRUE)
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/zlib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.4.4...3.15.0)
cmake_minimum_required(VERSION 3.18)
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)

project(zlib C)
Expand Down
2 changes: 1 addition & 1 deletion internal/gumbo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
#########################################################

cmake_minimum_required( VERSION 3.5 )
cmake_minimum_required( VERSION 3.18 )

project( sigilgumbo C )

Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ endif()

# Building Sigil with Qt6 requires cmake 3.16+
# and a C++17 standards compatible compiler
cmake_minimum_required( VERSION 3.16 )
cmake_minimum_required( VERSION 3.18 )

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
Expand Down

0 comments on commit 3907ad3

Please sign in to comment.