mirror of
https://github.com/hyprwm/hyprpaper.git
synced 2024-11-16 22:25:59 +01:00
cmake: Set standard exclusively for c++ (#150)
This commit is contained in:
parent
f57d991e3a
commit
518adcaf90
1 changed files with 2 additions and 1 deletions
|
@ -65,7 +65,8 @@ function(protocol protoPath protoName external)
|
|||
endfunction()
|
||||
|
||||
include_directories(.)
|
||||
add_compile_options(-std=c++2b -DWLR_USE_UNSTABLE )
|
||||
set(CMAKE_CXX_STANDARD 23)
|
||||
add_compile_options(-DWLR_USE_UNSTABLE)
|
||||
add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing)
|
||||
find_package(Threads REQUIRED)
|
||||
|
||||
|
|
Loading…
Reference in a new issue