From f002baed7ad74cceb5d4478f29310d537dfff6dc Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 12 Nov 2015 21:30:50 -0500 Subject: [PATCH] cmake: bump requirement to 3.1.0 CMAKE_C_STANDARD was introduced in 3.1.0. --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b75e8737..8f7d747e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)