Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
###
# Set minimum version of CMake. Since command 'project' use
# VERSION sub-option we need at least 3.0.
# Note: If you use 2.6 or 2.4, God kills a kitten. Seriously.
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
# Set minimum version of CMake. CMake 4.0 drops support for CMake<3.06 so that
# is the absolute lowest that we could allow without blocking the usage of new
# versions of CMake. Using 3.16 since it is the supported version on Ubuntu
# 20.04 LTS (using that as a representative distro for our desired level of
# backwards compatibility).
cmake_minimum_required(VERSION 3.16 FATAL_ERROR)

####
# Set variables:
Expand Down