Skip to content

Commit e596b51

Browse files
committed
Fix cmake for 4.x
1 parent 16e3dbf commit e596b51

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.8.2)
1+
cmake_minimum_required(VERSION 3.8.2...3.29)
22

33
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)
44
message(FATAL_ERROR "Do not build in-source. Please remove CMakeCache.txt and the CMakeFiles/ directory. Then build out-of-source.")

cmake/Warnings.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
# SOFTWARE.
4646

4747

48-
cmake_minimum_required(VERSION 3.1)
48+
cmake_minimum_required(VERSION 3.15...3.29)
4949

5050
option(ENABLE_WARNINGS_SETTINGS "Allow target_set_warnings to add flags and defines. Set this to OFF if you want to provide your own warning parameters." ON)
5151

0 commit comments

Comments
 (0)