Portability

- Added '-std=gnu++0x' for Cygwin.
This commit is contained in:
Paul Beckingham
2015-01-04 20:39:42 -05:00
parent 99ebf82c3a
commit b83dc8a29e

View File

@@ -30,6 +30,9 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
set (SOLARIS true)
elseif (${CMAKE_SYSTEM_NAME} STREQUAL "GNU")
set (GNUHURD true)
elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
set (CYGWIN true)
set (CMAKE_CXX_FLAGS "-std=gnu++0x")
else (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set (UNKNOWN true)
endif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")