>From 1423c462a7ee3a2490bc18fdc2088b0905ca0a23 Mon Sep 17 00:00:00 2001 From: Nikolaus Waxweiler Date: Sat, 7 Apr 2018 21:42:43 +0100 Subject: [PATCH 05/19] CMakeLists.txt: Raise minimum required CMake version to 2.8.11.2 FreeType will be built as part of the freetype-py bindings to provide binaries to Python users. The Linux build will be done inside a CentOS 5.11 container with CMake 2.8.11.2 installed, so it's the version that will actually be exercised. --- CMakeLists.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0206cab95..8ef0fc947 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -83,9 +83,12 @@ # (this is compatible with the same CMake variables in zlib's CMake # support). - -cmake_minimum_required(VERSION 2.6) - +# FreeType is build as part of the Python binding freetype-py. Python +# extensions for Linux are usually compiled against the manylinux1 target (PEP +# 513); the Manylinux1 Docker container provided by PyPa happens to contain a +# CentOS 5.11 with cmake 2.8.11.2 installed. Raising the minimum version makes +# sure this requirement is actually tested. +cmake_minimum_required(VERSION 2.8.11.2) include(CheckIncludeFile) -- 2.14.3