From 827ed1287fce61ccf4de2931bc7f477099976e2e Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sat, 16 Mar 2019 16:24:19 +0100 Subject: build: Fix build error with swig There is an unsafe strncpy() in the swig compilation process, which has been fixed a while back but is still not in the release version. This disables the compiler warning. It also fixes an unspecified option. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 24e025d4..5bf234d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,5 @@ cmake_minimum_required(VERSION 2.8.12.2) +cmake_policy(VERSION 3.13) set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") -- cgit v1.2.3