尝试支持CYGWIN
This commit is contained in:
parent
057967a5c9
commit
79704b894b
@ -9,7 +9,7 @@ function(is_current_platform platform is_match)
|
||||
set(matches FALSE)
|
||||
|
||||
if(platform STREQUAL "windows")
|
||||
if(WIN32)
|
||||
if(WIN32 OR CYGWIN)
|
||||
set(matches TRUE)
|
||||
endif()
|
||||
elseif(platform STREQUAL "linux")
|
||||
|
Loading…
x
Reference in New Issue
Block a user