Package: gnuradio / 3.7.10.1-2

cmake-policies Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Quiet Debian build logs by setting cmake policies.
Authr: A. Maitland Bottoms <bottoms@debian.org>

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,6 +26,10 @@
 # Project setup
 ########################################################################
 cmake_minimum_required(VERSION 2.6)
+# use cmake_policy to silence warnings without updating code
+cmake_policy(SET CMP0026 OLD)
+cmake_policy(SET CMP0045 OLD)
+cmake_policy(SET CMP0046 OLD)
 project(gnuradio CXX C)
 enable_testing()