Skip to content

Commit

Permalink
Bump cmake version
Browse files Browse the repository at this point in the history
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 OpenEtherCATsociety#559, fixes OpenEtherCATsociety#512
  • Loading branch information
hefloryd committed Oct 26, 2021
1 parent 5fa8824 commit ceab31c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ BUILDING
Prerequisites for all platforms
-------------------------------

* CMake 2.8.0 or later
* CMake 3.9 or later


Windows (Visual Studio)
Expand Down

0 comments on commit ceab31c

Please sign in to comment.