From 4bdc70aaac8884df987f4b079b3d063f2f31e076 Mon Sep 17 00:00:00 2001 From: Zack Zhiyuan Li Date: Sun, 3 Nov 2024 22:07:07 +0000 Subject: [PATCH] update to C++17 for compilation --- common/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index 14d91bc0a..40e69e0a6 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -87,5 +87,5 @@ if (LLAMA_CURL) endif () target_include_directories(${TARGET} PUBLIC .) -target_compile_features (${TARGET} PUBLIC cxx_std_11) +target_compile_features (${TARGET} PUBLIC cxx_std_17) target_link_libraries (${TARGET} PRIVATE ${LLAMA_COMMON_EXTRA_LIBS} PUBLIC llama Threads::Threads)