From c7e0a3bd67829d05eb096107e8789906fcef61bf Mon Sep 17 00:00:00 2001 From: albert-github Date: Tue, 15 Jan 2019 11:26:40 +0100 Subject: Minimum required version for CMake The `env` command with `-E` is first supported with version 3.1 setting the minimum required version as such (Based on message: https://stackoverflow.com/questions/54194646/make-docs-fails-while-building-doxygen-v1-8-15-for-rhel-distros-for-s390x and CMake documentation: https://cmake.org/cmake/help/v2.8.12/cmake.html, https://cmake.org/cmake/help/v3.0/manual/cmake.1.html and https://cmake.org/cmake/help/v3.1/manual/cmake.1.html) --- BUILD.txt | 2 +- CMakeLists.txt | 2 +- doc/install.doc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BUILD.txt b/BUILD.txt index 027dc37..48355ff 100644 --- a/BUILD.txt +++ b/BUILD.txt @@ -1,5 +1,5 @@ Doxygen uses cmake (http://www.cmake.org/) to build executables for various platforms. -It's required at least cmake version 2.8.12 +It's required at least cmake version 3.1.3 The first step is to create a build directory where the output should be stored. Doxygen can be fully build outside of the source tree. diff --git a/CMakeLists.txt b/CMakeLists.txt index 45c2f2c..6bf9246 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ # Documents produced by Doxygen are derivative works derived from the # input used in their production; they are not affected by this license. -cmake_minimum_required(VERSION 2.8.12) +cmake_minimum_required(VERSION 3.1.3) project(doxygen) option(build_wizard "Build the GUI frontend for doxygen." OFF) diff --git a/doc/install.doc b/doc/install.doc index d64b259..e6fd633 100644 --- a/doc/install.doc +++ b/doc/install.doc @@ -38,7 +38,7 @@ following to build the executable: \addindex python
  • You need \c python (version 2.6 or higher, see https://www.python.org).
  • In order to generate a \c Makefile for your platform, you need - cmake version 2.8.12 or later. + cmake version 3.1.3 or later. \addindex cmake -- cgit v0.12