From 617be983b9d9afd67dd1752f3331f02a4450361e Mon Sep 17 00:00:00 2001 From: Hans Erik van Elburg Date: Sat, 3 Jan 2015 02:27:27 +0100 Subject: initial cygwin tweaks --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 5cc49fa8..04d35a88 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,11 @@ set(Ledger_VERSION_DATE 20141005) enable_testing() -add_definitions(-std=c++11) +if (CYGWIN) + add_definitions(-std=c++11 -U__STRICT_ANSI__) +else() + add_definitions(-std=c++11) +endif() ######################################################################## -- cgit v1.2.3