Portability
- Added '-std=gnu++0x' for Cygwin.
This commit is contained in:
@@ -30,6 +30,9 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
|
|||||||
set (SOLARIS true)
|
set (SOLARIS true)
|
||||||
elseif (${CMAKE_SYSTEM_NAME} STREQUAL "GNU")
|
elseif (${CMAKE_SYSTEM_NAME} STREQUAL "GNU")
|
||||||
set (GNUHURD true)
|
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")
|
else (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||||
set (UNKNOWN true)
|
set (UNKNOWN true)
|
||||||
endif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
endif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||||
|
|||||||
Reference in New Issue
Block a user