diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index 72cbfb492..13ebb98a0 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -1,6 +1,6 @@ #top dir cmake project for libhackrf + tools -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.1.3) project (HackRF C) set(CMAKE_C_FLAGS "$ENV{CFLAGS}" CACHE STRING "C Flags") diff --git a/host/hackrf-tools/CMakeLists.txt b/host/hackrf-tools/CMakeLists.txt index 5ba528326..75d507f7a 100644 --- a/host/hackrf-tools/CMakeLists.txt +++ b/host/hackrf-tools/CMakeLists.txt @@ -21,7 +21,7 @@ # Based heavily upon the libftdi cmake setup. -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.1.3) project(hackrf-tools C) set(PACKAGE hackrf-tools) include(${PROJECT_SOURCE_DIR}/../cmake/set_release.cmake) diff --git a/host/libhackrf/CMakeLists.txt b/host/libhackrf/CMakeLists.txt index 322970e77..7146b9310 100644 --- a/host/libhackrf/CMakeLists.txt +++ b/host/libhackrf/CMakeLists.txt @@ -21,7 +21,7 @@ # Based heavily upon the libftdi cmake setup. -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.1.3) project(libhackrf C) set(MAJOR_VERSION 0) set(MINOR_VERSION 8)