From f7e6699fec7fcb2e1559495cc2ae1674c1fb3022 Mon Sep 17 00:00:00 2001 From: Slavasil Date: Sat, 16 Nov 2024 22:44:59 +0300 Subject: [PATCH] bump project C++ version to C++23 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1da57fc..642f02f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,4 +9,6 @@ add_subdirectory(td) add_executable(${PROJECT_NAME} main.cpp http.cpp vk.cpp) +target_compile_options(${PROJECT_NAME} PRIVATE -std=c++2b) + target_link_libraries(${PROJECT_NAME} PRIVATE CURL::libcurl nlohmann_json::nlohmann_json uv spdlog::spdlog Td::TdStatic $<$:ws2_32>)