Skip to content

Commit 36ecfaa

Browse files
committed
build: set some extra c standard cmake options
1 parent 55bffdd commit 36ecfaa

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.11)
22
project(gemu LANGUAGES C VERSION 0.1.0)
33

44
set(CMAKE_C_STANDARD 23)
5+
set(CMAKE_C_STANDARD_REQUIRED 23)
6+
set(CMAKE_C_STANDARD_EXTENSIONS OFF)
57
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
68

79
if(MSVC)

0 commit comments

Comments
 (0)