Bump minimum CMake version

The CMake version set was so old that obsolete policies were being
enabled and breaking FindPython. 2.8 should still be old enough not to
cause problems for any current users.

Signed-off-by: Myrtle Shah <gatecat@chipflow.io>
This commit is contained in:
Myrtle Shah 2021-10-15 13:14:35 +01:00
parent 03f0e51dfd
commit 2d24efdb6c
4 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
project(Bootstrap)
cmake_minimum_required(VERSION 2.4.0)
cmake_minimum_required(VERSION 2.8.0)
set(ignoreVariables USE_LIBBFD "${BUILD_DOC} ${CMAKE_INSTALL_DIR}")

View File

@ -3,7 +3,7 @@
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
project(CUMULUS)
cmake_minimum_required(VERSION 2.4.0)
cmake_minimum_required(VERSION 2.8.0)
set(ignoreVariables "${BUILD_DOC}" "${CMAKE_INSTALL_DIR}")
option(USE_LIBBFD "Link with BFD libraries to print stack traces" OFF)

View File

@ -2,7 +2,7 @@
project(OROSHI)
cmake_minimum_required(VERSION 2.4.0)
cmake_minimum_required(VERSION 2.8.0)
option(USE_LIBBFD "Link with BFD libraries to print stack traces" OFF)
set(ignoreVariables "${CMAKE_INSTALL_DIR}")

View File

@ -8,7 +8,7 @@
set(ignoreVariables "${BUILD_DOC}" "${CMAKE_INSTALL_DIR}")
option(USE_LIBBFD "Link with BFD libraries to print stack traces" OFF)
cmake_minimum_required(VERSION 2.4.0)
cmake_minimum_required(VERSION 2.8.0)
list(INSERT CMAKE_MODULE_PATH 0 "${DESTDIR}$ENV{CORIOLIS_TOP}/share/cmake/Modules/")
find_package(Bootstrap REQUIRED)
setup_project_paths(CORIOLIS)