Change from C99 to C11.

This commit is contained in:
Scott Anderson 2017-06-20 13:18:41 +12:00
parent 41b5294013
commit 2f03ea0a6b
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.1.0)
project(wlroots C)
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_EXTENSIONS OFF)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin)