Skip to content

Commit bde61de

Browse files
rgetzpcercuei
authored andcommitted
cmake: set the min version to 2.8.12
Now that we are erroring out, and noticing issues, set things to 2.8.12, the min required not to get warnings/errors on modern systems. Cmake 2.8.12 was released Tue Oct 8 13:27:39 EDT 2013; so still should be plenty old for most distributions. Even RedHat 6 supports cmake 2.8.12 ... https://access.redhat.com/errata/RHBA-2014:1506.html Signed-off-by: Robin Getz <[email protected]>
1 parent 7cb06e0 commit bde61de

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
message(STATUS "cmake version: ${CMAKE_VERSION}")
2-
cmake_minimum_required(VERSION 2.8.7)
2+
cmake_minimum_required(VERSION 2.8.12)
33
project(libiio C)
44

55
if (MINGW)

bindings/csharp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8.7)
1+
cmake_minimum_required(VERSION 2.8.12)
22
project(libiio-sharp NONE)
33

44
if (WIN32)

bindings/python/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8.7)
1+
cmake_minimum_required(VERSION 2.8.12)
22
project(libiio-py NONE)
33

44
if(${CMAKE_VERSION} VERSION_LESS "3.12.0")

examples/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8.7)
1+
cmake_minimum_required(VERSION 2.8.12)
22

33
project(ad9361-iiostream C)
44
project(ad9371-iiostream C)

iiod/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8.7)
1+
cmake_minimum_required(VERSION 2.8.12)
22
project(iiod C)
33

44
include(FindBISON)

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8.7)
1+
cmake_minimum_required(VERSION 2.8.12)
22

33
project(iio_genxml C)
44
project(iio_info C)

0 commit comments

Comments
 (0)