cmake: bump requirement to 3.1.0

CMAKE_C_STANDARD was introduced in 3.1.0.
This commit is contained in:
Ben Boeckel 2015-11-12 21:30:50 -05:00
parent c43ef2aedd
commit f002baed7a

View file

@ -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)