From f2d2a226ecd5df1d3398066d4a8a1eb01d684b74 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 19 Sep 2018 12:50:02 -0700 Subject: cmake: Bump CMake minimum version to 2.8.12 This enables some interesting features we can now use in UHD, such as: - target_compile_options - add_compile_options --- host/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host') diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index 00b9102e4..1a4c2d0af 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -1,7 +1,7 @@ # # Copyright 2010-2018 Ettus Research, a National Instruments Company # -# SPDX-License-Identifier: GPL-3.0 +# SPDX-License-Identifier: GPL-3.0-or-later # ######################################################################## @@ -12,7 +12,7 @@ ######################################################################## # Project setup ######################################################################## -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.2) +CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12) IF(POLICY CMP0048) CMAKE_POLICY(SET CMP0048 NEW) # Suppress Version warnings ENDIF(POLICY CMP0048) -- cgit v1.2.3