From ed83f3f8a402953b7a805ba114e21e23d2d1435c Mon Sep 17 00:00:00 2001 From: Kan-Ru Chen Date: Wed, 4 Sep 2024 00:02:40 +0900 Subject: [PATCH] build: use c++17 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1264efc..785907f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ add_definitions( /D_UNICODE=1 /DUNICODE=1 # do Unicode build /D_CRT_SECURE_NO_WARNINGS # disable warnings about old libc functions ) -set(CMAKE_CXX_STANDARD 20) +set(CMAKE_CXX_STANDARD 17) if (MSVC) add_compile_options(/utf-8)