]> git.feebdaed.xyz Git - 0xmirror/SOEM.git/commitdiff
Bump cmake version
authorHans-Erik Floryd <hans-erik.floryd@rt-labs.com>
Tue, 26 Oct 2021 07:47:36 +0000 (09:47 +0200)
committerHans-Erik Floryd <hans-erik.floryd@rt-labs.com>
Tue, 26 Oct 2021 07:59:20 +0000 (09:59 +0200)
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
README.md

index af75543387aec8bbaf42500aa335d540ec217940..baf26bd5844eb99998dfc54a6f7e3c63fcc5ddaf 100644 (file)
@@ -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
index aca9d90e4437a5d52130be646bee783349d605c6..e0e19b227ec0bf29b2e8b3e0814852b8874c3bd9 100644 (file)
--- 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)