cmake_minimum_required() cleanup:

- document version requirements in the top-level file.
- remove incorrect version requirements from sub-dirs.
- set min. required version to 3.5 in top-level file.
- set minimun required version to 3.9 under docs/ .
- make documents building an option (on by default.)
  so, the tree can be built using cmake-3.5 using
 -DBUILD_DOCS=0 on the command line.
This commit is contained in:
sezero
2019-11-14 01:10:02 +03:00
committed by Erik de Castro Lopo
parent 2907d4921c
commit cdcf0d5575
5 changed files with 11 additions and 10 deletions

View File

@@ -1,4 +1,5 @@
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.9)
find_package(Doxygen)
if (NOT DOXYGEN_FOUND)