From 9e7aa5e5182061ec54f0dd0a26afad6517dc1c61 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Wed, 19 Aug 2020 11:39:47 +0100 Subject: [PATCH] Support for ecbuild v3.4. Update minimum required versions of CMake and ecbuild --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e6d08a7c6..ae3b37df4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,7 @@ # # -DCMAKE_MODULE_PATH=/path/to/ecbuild/cmake -cmake_minimum_required( VERSION 3.6 FATAL_ERROR ) +cmake_minimum_required( VERSION 3.11 FATAL_ERROR ) project( eccodes VERSION 2.19.0 LANGUAGES C ) @@ -24,7 +24,7 @@ set( CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH} include( ecbuild_system NO_POLICY_SCOPE ) -ecbuild_requires_macro_version( 2.7.2 ) +ecbuild_requires_macro_version( 3.4 ) ############################################################################### # local project