From ceab31ceda0b3654a555c87e49331274e8e3be8c Mon Sep 17 00:00:00 2001 From: Hans-Erik Floryd Date: Tue, 26 Oct 2021 09:47:36 +0200 Subject: [PATCH] Bump cmake version Bump CMake version to 3.9, which the oldest version supporting the project DESCRIPTION option (see https://cmake.org/cmake/help/latest/command/project.html#command:project), which was introduced by commit 59821cb. CMake policy CMP0048 is set to NEW by default since 3.0 and can be removed. Fixes #559, fixes #512 --- CMakeLists.txt | 3 +-- README.md | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index af75543..baf26bd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,5 @@ -cmake_minimum_required(VERSION 2.8.12) +cmake_minimum_required(VERSION 3.9) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/cmake/Modules") -cmake_policy(SET CMP0048 NEW) project(SOEM DESCRIPTION "Simple Open EtherCAT Master" VERSION 1.4.0 diff --git a/README.md b/README.md index aca9d90..e0e19b2 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ BUILDING Prerequisites for all platforms ------------------------------- - * CMake 2.8.0 or later + * CMake 3.9 or later Windows (Visual Studio)