feature use c++98

This commit is contained in:
tqcq 2023-12-05 10:06:05 +08:00
parent f08ae94e37
commit 3a2b1018d2

View File

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