From: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx>
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 <min> value. Or, use the <min>...<max>
syntax to tell CMake that the project requires at least <min> but has been
updated to work with policies introduced by <max> or earlier.
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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}")
--
2.34.1
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|