mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-08-16 16:50:23 +03:00
set proper C++23 std to meson as well
This commit is contained in:
parent
42d18143e5
commit
1599dc47d1
@ -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 New Issue
Block a user