Skip to content

Commit 8e7b975

Browse files
committed
cmake: update minimum version to 3.10
This is the version on Ubuntu 18.04
1 parent fd9ee1f commit 8e7b975

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
project ("ev3devkit" C)
22

3-
if (CMAKE_CROSSCOMPILING)
4-
# we are depending on CMAKE_SYSROOT feature introduce in CMake 3.x
5-
# and we only support cross compiling using Ubuntu 16.04
6-
cmake_minimum_required (VERSION 3.5)
7-
else (CMAKE_CROSSCOMPILING)
8-
cmake_minimum_required (VERSION 2.6)
9-
endif (CMAKE_CROSSCOMPILING)
3+
cmake_minimum_required (VERSION 3.10)
104

115
get_directory_property(PARENT_DIR PARENT_DIRECTORY)
126

0 commit comments

Comments
 (0)