From b4a1d8834af63c34571da0b9e35580a974cb7a14 Mon Sep 17 00:00:00 2001 From: Thomas Dreibholz Date: Sat, 14 Dec 2024 15:51:21 +0100 Subject: [PATCH] Updated CMakeLists.txt. --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8170e4eb..a3ac3506 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 3.0.2) +CMAKE_MINIMUM_REQUIRED(VERSION 3.10) PROJECT(libneat) SET(BUILD_MAJOR "1") @@ -9,6 +9,7 @@ SET(BUILD_VERSION ${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_PATCH}) # Needed by SWIG: CMAKE_POLICY(SET CMP0078 OLD) CMAKE_POLICY(SET CMP0086 NEW) +CMAKE_POLICY(SET CMP0148 OLD) include(FindPythonLibs)