From 9075269079f459602815c115a4a5b4cbe3d478c9 Mon Sep 17 00:00:00 2001 From: James Cherry Date: Mon, 27 Jan 2020 11:50:00 -0700 Subject: [PATCH] cmake_policy --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f363945..13780708 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,11 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -cmake_minimum_required (VERSION 3.9...3.16) +cmake_minimum_required (VERSION 3.9) +# Use standard target names +cmake_policy(SET CMP0078 NEW) +# Allows SWIG_MODULE_NAME to be set +cmake_policy(SET CMP0086 NEW) project(STA VERSION 2.0.18)