From 0b38d54d744fff230b1109b2227333f18a2227cf Mon Sep 17 00:00:00 2001 From: ritt Date: Wed, 13 Mar 2024 14:50:32 +0100 Subject: [PATCH] Switched to C++ 17 --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9fe733f2..926ba0b7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,10 @@ # CMakeLists.txt for ELOG project -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(ELOG) +# C++ version +set(CMAKE_CXX_STANDARD 17) + # compile options option(USE_SSL "Use OpenSSL library for https" ON) option(USE_KRB5 "Use Kerberos library for authentication" OFF)