From ad88ac72982f8dd15c3352c61358c7aaa960c6d3 Mon Sep 17 00:00:00 2001 From: Willem Deconinck Date: Thu, 21 Nov 2024 13:45:11 +0100 Subject: [PATCH] add_fctest requires cmake 3.12; This disables cmake deprecation warnings --- cmake/add_fctest.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/add_fctest.cmake b/cmake/add_fctest.cmake index 2eca31d..7271bcf 100644 --- a/cmake/add_fctest.cmake +++ b/cmake/add_fctest.cmake @@ -36,7 +36,7 @@ endfunction() function( add_fctest ) -cmake_minimum_required( VERSION 3.6 ) +cmake_minimum_required( VERSION 3.12 ) cmake_policy( SET CMP0064 NEW ) # Recognize ``TEST`` as operator for the ``if()`` command. (introduced in CMake version 3.4) ecbuild_add_test( ${ARGV} )