From 9d3fef3e2bdf6d1806aa9c2b171b1bb6f9d41d2f Mon Sep 17 00:00:00 2001 From: Bruce Mitchener <bruce.mitchener@gmail.com> Date: Sun, 26 Nov 2023 22:30:22 +0700 Subject: [PATCH] cmake: Require cmake 3.16 or later. (#7015) Support for requiring cmake < 3.4 may go away soon (according to a deprecation notice when building). Ubuntu 20.04 provides cmake 3.16 and current is 3.27, so that seems like a reasonable version to require. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d7173e946..a3c17d12d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ # Enforce some CMake policies -cmake_minimum_required(VERSION 3.4) +cmake_minimum_required(VERSION 3.16) set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cxx_compiler_flags_overrides.cmake") project(Z3 VERSION 4.12.3.0 LANGUAGES CXX)