Added some simple messaging when trying to build under Cygwin
This commit is contained in:
parent
3d41e28e6a
commit
95828a85a2
2 changed files with 9 additions and 0 deletions
|
@ -64,6 +64,10 @@ elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Android")
|
|||
|
||||
# use the OpenGL ES implementation on Android
|
||||
set(OPENGL_ES 1)
|
||||
# comparing CMAKE_SYSTEM_NAME with "CYGWIN" generates a false warning depending on the CMake version
|
||||
# let's avoid it so the actual error is more visible
|
||||
elseif(${CYGWIN})
|
||||
message(FATAL_ERROR "Unfortunately SFML doesn't support Cygwin's 'hybrid' status between both Windows and Linux derivatives.\nIf you insist on using the GCC, please use a standalone build of MinGW without the Cygwin environment instead.")
|
||||
else()
|
||||
message(FATAL_ERROR "Unsupported operating system or environment")
|
||||
return()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue