From 95bff60f1ed190a87aed689872aa0e8f486fac0d Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Fri, 21 Jul 2023 18:27:04 -0600 Subject: [PATCH] Upgrade to new enough CMake to avoid deprecation notices As of CMake 3.27 I'm getting the following error when configuring ImGui-SFML CMake Deprecation Warning at build/_deps/imgui-sfml-src/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. CMake 3.1 is VERY old at this point in the year 2023 and it's safe to assume that noboby is using a CMake version older than 3.10 or perhaps even 3.16. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d2837a3..143d013 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.10) project(imgui_sfml LANGUAGES CXX