Fix compilation with clang (#61)

Using `-std=c++2b` instead of `-std=c++23` allows compilation with clang instead of gcc.
This commit is contained in:
Tamamizu 2023-04-12 16:11:45 +02:00 committed by GitHub
parent 4bcedde1dc
commit 10fd31a544
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ execute_process(
#
include_directories(.)
add_compile_options(-std=c++23 -DWLR_USE_UNSTABLE )
add_compile_options(-std=c++2b -DWLR_USE_UNSTABLE )
add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing)
find_package(Threads REQUIRED)