initial cygwin tweaks

This commit is contained in:
Hans Erik van Elburg 2015-01-03 02:27:27 +01:00
parent 2c277112b6
commit 617be983b9
2 changed files with 8 additions and 1 deletions

View file

@ -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()
########################################################################

3
acprep
View file

@ -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 #