compiling

This commit is contained in:
quackerd 2023-03-12 03:12:47 +01:00
parent 3889536160
commit 666292478e

View File

@ -13,7 +13,7 @@ find_package(PkgConfig REQUIRED)
find_package(OpenSSL REQUIRED)
pkg_check_modules(bsock REQUIRED bsock)
set(CFLAGS -Wall -Wextra -Werror -std=c++17 -O3 -g)
set(CFLAGS -Wall -Wextra -Werror -std=c++20 -O3 -g)
add_library(common OBJECT ${CMAKE_CURRENT_SOURCE_DIR}/common/io.cc)
target_link_directories(common PRIVATE ${bsock_LIBRARY_DIRS})