summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt6
-rwxr-xr-xacprep3
2 files changed, 8 insertions, 1 deletions
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()
########################################################################
diff --git a/acprep b/acprep
index b0af2108..63cabe6b 100755
--- a/acprep
+++ b/acprep
@@ -644,6 +644,9 @@ class PrepareBuild(CommandLineApp):
]
self.log.info('Executing: ' + ' '.join(packages))
self.execute(*packages)
+ elif system.startswith('CYGWIN'):
+ self.log.info('Looks like you are using Cygwin')
+ self.log.info('Please install the dependencies manually, see https://github.com/ledger/ledger/wiki/Build-instructions-for-Cygwin.')
#########################################################################
# Determine the system's basic configuration #