From 7c308811be79c1b1d9cc09528059369f326efe9b Mon Sep 17 00:00:00 2001 From: Rob Sykes Date: Fri, 21 Aug 2015 20:11:30 +0100 Subject: quash more cmake policy warnings --- CMakeLists.txt | 1 - go | 2 +- go.bat | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 42bb752..ce4e14f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,6 @@ # Licence for this file: LGPL v2.1 See LICENCE for details. cmake_minimum_required (VERSION 2.8 FATAL_ERROR) -cmake_policy (SET CMP0022 OLD) project (soxr C) set (DESCRIPTION_SUMMARY "High quality, one-dimensional sample-rate conversion library") diff --git a/go b/go index 30adb94..10f3ceb 100755 --- a/go +++ b/go @@ -12,6 +12,6 @@ rm -f CMakeCache.txt # Prevent interference from any in-tree build mkdir -p $build cd $build -cmake -DCMAKE_BUILD_TYPE=$build .. && +cmake -DCMAKE_BUILD_TYPE=$build -Wno-dev .. && make $j && (ctest $j || echo "FAILURE details in $build/Testing/Temporary/LastTest.log") diff --git a/go.bat b/go.bat index 7d63de3..c73d4c2 100644 --- a/go.bat +++ b/go.bat @@ -11,7 +11,7 @@ del/f CMakeCache.txt mkdir %build% cd %build% -cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=%build% .. +cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=%build% -Wno-dev .. if errorlevel 1 goto end nmake -- cgit v1.2.3