From bf8d4c428e3ff0fbb83f35ab436b4de74f0d8eca Mon Sep 17 00:00:00 2001 From: whitequark Date: Wed, 24 Jun 2020 17:57:24 +0000 Subject: CMake: require at least version 3.5 (Ubuntu 16.04). --- CMakeLists.txt | 3 +-- bba/CMakeLists.txt | 2 +- ecp5/CMakeLists.txt | 2 +- ice40/CMakeLists.txt | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d5b1dc9..07c5fb7b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,4 @@ -# TODO: sensible minimum CMake version -cmake_minimum_required(VERSION 3.3) +cmake_minimum_required(VERSION 3.5) project(nextpnr CXX) option(BUILD_GUI "Build GUI" ON) diff --git a/bba/CMakeLists.txt b/bba/CMakeLists.txt index 60c04b51..f2b7f887 100644 --- a/bba/CMakeLists.txt +++ b/bba/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.3) +cmake_minimum_required(VERSION 3.5) project(bba CXX) find_package(Boost REQUIRED COMPONENTS diff --git a/ecp5/CMakeLists.txt b/ecp5/CMakeLists.txt index eaa33b6f..303208ed 100644 --- a/ecp5/CMakeLists.txt +++ b/ecp5/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.3) +cmake_minimum_required(VERSION 3.5) project(chipdb-ecp5 NONE) set(ALL_ECP5_DEVICES 25k 45k 85k) diff --git a/ice40/CMakeLists.txt b/ice40/CMakeLists.txt index a003443c..1bf64905 100644 --- a/ice40/CMakeLists.txt +++ b/ice40/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.3) +cmake_minimum_required(VERSION 3.5) project(chipdb-ice40 NONE) set(ALL_ICE40_DEVICES 384 1k 5k u4k 8k) -- cgit v1.2.3