set proper C++23 std to meson as well

This commit is contained in:
vaxerski 2022-07-06 16:55:49 +02:00
parent 42d18143e5
commit 1599dc47d1
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@ execute_process(
include_directories(. PRIVATE "subprojects/wlroots/include/")
include_directories(. PRIVATE "subprojects/wlroots/build/include/")
add_compile_options(-std=c++2b -DWLR_USE_UNSTABLE )
add_compile_options(-std=c++23 -DWLR_USE_UNSTABLE )
add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing)
find_package(Threads REQUIRED)

View file

@ -1,6 +1,6 @@
project('Hyprland', 'cpp', 'c',
version : '0.6.2beta',
default_options : ['warning_level=2', 'cpp_std=c++20', 'default_library=static', 'optimization=3'])
default_options : ['warning_level=2', 'cpp_std=c++23', 'default_library=static', 'optimization=3'])
add_project_arguments(
[