From d1ae204bb2064d7e3146d321701ef74d237c0b6c Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sat, 24 Jan 2026 18:04:03 +0100 Subject: [PATCH] CMake: Start requiring CMake >=3.17.0 of 2020-03-20 Related: https://discourse.cmake.org/t/cmake-3-17-0-available-for-download/828 --- expat/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt index 9b26cd09..e646904e 100644 --- a/expat/CMakeLists.txt +++ b/expat/CMakeLists.txt @@ -35,7 +35,7 @@ # Unlike most of Expat, # this file is copyrighted under the BSD-license for buildsystem files of KDE. -cmake_minimum_required(VERSION 3.15.0) +cmake_minimum_required(VERSION 3.17.0) project(expat VERSION @@ -460,10 +460,6 @@ if(NOT WIN32) set_property(TARGET expat PROPERTY NO_SONAME ${NO_SONAME}) if(APPLE) - if(NOT CMAKE_VERSION VERSION_GREATER_EQUAL 3.17) - message(FATAL_ERROR "Expat requires CMake >=3.17 on platform \"APPLE\".") - endif() - # NOTE: This intends to talk CMake into compatibility with GNU Libtool math(EXPR _EXPAT_MACHO_COMPATIBILITY_VERSION "${LIBCURRENT} + 1") set(_EXPAT_MACHO_CURRENT_VERSION "${_EXPAT_MACHO_COMPATIBILITY_VERSION}.${LIBREVISION}")