From 3631c96d46385b391323666ec8ec2261a1809646 Mon Sep 17 00:00:00 2001 From: Iain Russell Date: Mon, 3 Apr 2023 13:37:48 +0100 Subject: [PATCH] Enforce C++17 standard [MAGP-1356] --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 395d9591..43506ffe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,7 @@ set(INSTALL_INCLUDE_DIR include/magics CACHE PATH "Magics installation directory include(ecbuild_system NO_POLICY_SCOPE) -set(CMAKE_CXX_STANDARD 14) +set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_C_STANDARD 99)