Skip to content

Commit 9b03387

Browse files
committed
[cmake] temp set force flag C23 standard for build CI tests
1 parent a314634 commit 9b03387

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.14) # for add_link_options and implicit target
22
project("llama.cpp" C CXX)
33
include(CheckIncludeFileCXX)
44

5+
set(CMAKE_C_STANDARD 23)
6+
set(CMAKE_C_STANDARD_REQUIRED True)
57
#set(CMAKE_WARN_DEPRECATED YES)
68
set(CMAKE_WARN_UNUSED_CLI YES)
79

0 commit comments

Comments
 (0)