mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 14:45:59 +01:00
set proper C++23 std to meson as well
This commit is contained in:
parent
42d18143e5
commit
1599dc47d1
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -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(
|
||||
[
|
||||
|
|
Loading…
Reference in a new issue