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