From 3a2b1018d2c37a482dbbb738631a3e011ed92b6e Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Tue, 5 Dec 2023 10:06:05 +0800 Subject: [PATCH] feature use c++98 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cb499f2..72b6621 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,9 +3,9 @@ cmake_minimum_required(VERSION 3.10) option(ULIB_BUILD_TESTS "Build tests" OFF) project(ulib LANGUAGES CXX VERSION 0.1.0) -set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD 98) set(CMAKE_CXX_STANDARD_REQUIRED ON) -set(CMAKE_CXX_EXTENSIONS ON) +set(CMAKE_CXX_EXTENSIONS OFF) add_library(${PROJECT_NAME} STATIC "" src/base/location.cpp