mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-01-23 14:32:22 +08:00
👷 Update C++ version to C++23
This commit is contained in:
parent
a7738cbf04
commit
adb2c0c1b5
@ -90,7 +90,7 @@ endif()
|
||||
|
||||
# Link this 'library' to set the c++ standard / compile-time options requested
|
||||
add_library(project_options INTERFACE)
|
||||
target_compile_features(project_options INTERFACE cxx_std_20)
|
||||
target_compile_features(project_options INTERFACE cxx_std_23)
|
||||
|
||||
##
|
||||
## Target
|
||||
|
@ -14,7 +14,7 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
|
||||
"RelWithDebInfo")
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_STANDARD 23)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
|
@ -2,7 +2,7 @@ project('cachyos-installer', 'cpp',
|
||||
version: '0.7.0',
|
||||
license: 'GPLv3',
|
||||
meson_version: '>=0.55.0',
|
||||
default_options: ['cpp_std=c++20',
|
||||
default_options: ['cpp_std=c++23',
|
||||
'buildtype=debugoptimized',
|
||||
'warning_level=3',
|
||||
'werror=false',
|
||||
|
Loading…
Reference in New Issue
Block a user