mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-25 22:38:38 +00:00
Add CYGWIN support for DLL library check
(from https://github.com/libsdl-org/SDL_image/pull/747)
This commit is contained in:
committed by
Ozkan Sezer
parent
29f7f08261
commit
5e1d8b8a6f
@@ -277,7 +277,7 @@ function(target_get_dynamic_library DEST TARGET)
|
||||
endif()
|
||||
if(result)
|
||||
string(TOLOWER "${result}" result_lower)
|
||||
if(WIN32 OR OS2)
|
||||
if(WIN32 OR OS2 OR CYGWIN)
|
||||
if(NOT result_lower MATCHES ".*dll")
|
||||
message(FATAL_ERROR "\"${result}\" is not a .dll library")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user