mirror of
https://github.com/hyprwm/hyprpaper.git
synced 2024-12-22 12:19:49 +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()
|
endfunction()
|
||||||
|
|
||||||
include_directories(.)
|
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)
|
add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing)
|
||||||
find_package(Threads REQUIRED)
|
find_package(Threads REQUIRED)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue