aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-06-20 13:18:41 +1200
committerScott Anderson <ascent12@hotmail.com>2017-06-20 13:18:41 +1200
commit2f03ea0a6bea6c099f148eb745a725ca77813885 (patch)
tree6691e0824bccf8d194a5031cb0e3f44918dcbcf6 /CMakeLists.txt
parent41b5294013cdf054e9dd49ef83ca6fee74f769a4 (diff)
Change from C99 to C11.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 353e96fb..5529ae32 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)