meta: Ensure Cygwin compatibility

This commit is contained in:
Tomas Babej 2021-10-18 23:53:26 -04:00
parent 3dee86c997
commit c99dab0dae
No known key found for this signature in database
GPG key ID: B0747C6578F7D2F5
2 changed files with 2 additions and 1 deletions

View file

@ -32,6 +32,7 @@ elseif (${CMAKE_SYSTEM_NAME} STREQUAL "GNU")
set (GNUHURD true)
elseif (${CMAKE_SYSTEM_NAME} STREQUAL "CYGWIN")
set (CYGWIN true)
set (_CXX14_FLAGS "-std=gnu++17")
else (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set (UNKNOWN true)
endif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")