From 80761e4a57798236f832463a91f52e6a86e0319b Mon Sep 17 00:00:00 2001 From: Tom Huang Date: Sun, 5 May 2024 11:52:28 -0700 Subject: [PATCH] build: increase minimum cmake version to 3.5 The original minimum CMake version 3.0 will cause the following CMake warning: CMake Deprecation Warning at CMakeLists.txt:31 (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. In order to fix this warning, we need to increase the minimum CMake version to 3.5. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a485571..67cee27 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ################################################################################ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) set(ARGTABLE3_PROJECT_NAME "argtable3") set(ARGTABLE3_PACKAGE_NAME "Argtable3")