From: Yegor Yefremov Date: Wed, 2 Apr 2025 08:12:34 +0000 (+0200) Subject: CMakeLists.txt: bump CMake version to 3.15 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=503c8789db7cb99e4e53cae3c220f80aef07c785;p=libftdi CMakeLists.txt: bump CMake version to 3.15 This change fixes the following warning on the latest CMake versions: CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 949cbf4..90a1b6d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.5 FATAL_ERROR) +cmake_minimum_required(VERSION 3.15 FATAL_ERROR) message(STATUS "CMake version: ${CMAKE_VERSION}")