summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2011-01-14 00:22:44 +0100
committerReiner Herrmann <reiner@reiner-h.de>2011-01-14 00:22:44 +0100
commitd5c1a95eac90ff700f778503c189ddfea79c296f (patch)
tree0f1d05a9ec1a2b5723c0e053e7fc9e99a876fd95 /CMakeLists.txt
parent1cf0350c2bc286e56b3b71d19fb03e080e2e67cf (diff)
define _POSIX_SOURCE for C99
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 9b5fe59..3808ec5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 2.6)
project(OXEN)
# Set C compiler flags
-set(CMAKE_C_FLAGS "-Wall -pedantic -g -std=c99")
+set(CMAKE_C_FLAGS "-Wall -pedantic -g -std=c99 -D_POSIX_SOURCE")
# Find dependencies
# Find ncurses