aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2015-11-12 21:30:50 -0500
committerBen Boeckel <mathstuf@gmail.com>2015-11-12 21:43:21 -0500
commitf002baed7ad74cceb5d4478f29310d537dfff6dc (patch)
tree08ba13cec31141bcb7e5fbd3bceba224d5566da6
parentc43ef2aedd0b2be3236e3e9feced447b956e496c (diff)
cmake: bump requirement to 3.1.0
CMAKE_C_STANDARD was introduced in 3.1.0.
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
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)