CMAKE_C_STANDARD was introduced in 3.1.0.
@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 2.8.5)
cmake_minimum_required(VERSION 3.1.0)
project(sway C)
set(CMAKE_C_FLAGS "-g")
set(CMAKE_C_STANDARD 99)
SET(CMAKE_C_EXTENSIONS OFF)