Upped CMakeLists.txt CXX version to c++17 for std::string_view

This commit is contained in:
Shaun 2025-01-16 15:53:56 +00:00
parent b6f70527be
commit 737ee76cbc

View File

@ -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")