From: Yegor Yefremov Date: Tue, 12 Dec 2023 13:20:36 +0000 (+0100) Subject: CMake: bump the minimal required version to 3.5 X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=commitdiff_plain;h=HEAD CMake: bump the minimal required version to 3.5 Older CMake versions are treated as deprecated. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 985e658..2ce1ad4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) +cmake_minimum_required(VERSION 3.5 FATAL_ERROR) message(STATUS "CMake version: ${CMAKE_VERSION}") diff --git a/examples/cmake_example/CMakeLists.txt b/examples/cmake_example/CMakeLists.txt index 36002df..7d60693 100644 --- a/examples/cmake_example/CMakeLists.txt +++ b/examples/cmake_example/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) +cmake_minimum_required(VERSION 3.5 FATAL_ERROR) project ( example C )