From 737ee76cbc9053f1c76951cceba94c25a1c41e4c Mon Sep 17 00:00:00 2001 From: Shaun Date: Thu, 16 Jan 2025 15:53:56 +0000 Subject: [PATCH] Upped CMakeLists.txt CXX version to c++17 for std::string_view --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 31735116..eb4c9e1e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,8 @@ cmake_minimum_required(VERSION 3.10) project(WebUILibrary) # Set C++ standard -set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD_REQUIRED ON) # Variables for library names, source files, etc. set(WEBUI_OUT_LIB_NAME "webui-2")