From 2fe16ba685f65352366d025f9e4934c37ed242da Mon Sep 17 00:00:00 2001 From: Vikas N Kumar Date: Mon, 23 Dec 2024 22:09:15 -0500 Subject: [PATCH 1/2] Allow for Debian 11 and Ubuntu 22.04 LTS support with lower version of CMake --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 41b2f939..b3eb14a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.30) +cmake_minimum_required(VERSION 3.18) project(ta-lib) From 51c4015493e0f2593b82732e7c29bb10eb881b84 Mon Sep 17 00:00:00 2001 From: Vikas N Kumar Date: Tue, 24 Dec 2024 07:55:26 -0500 Subject: [PATCH 2/2] Win32 needs 3.30 CMake --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b3eb14a7..93e53b9f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,7 @@ cmake_minimum_required(VERSION 3.18) +if (CMAKE_VERSION VERSION_LESS "3.30" AND WIN32) + message(FATAL_ERROR "For Windows systems you need CMake Version 3.30") +endif (CMAKE_VERSION VERSION_LESS "3.30" AND WIN32) project(ta-lib)