Skip to content

Commit

Permalink
Fixed building on MingW.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 10, 2017
1 parent 4015689 commit ebb00f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Expand Up @@ -29,6 +29,11 @@ if(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
set(SOLARIS TRUE)
endif()

# Don't treat MingW as Unix; use it as a strictly-Windows compiler.
if(MINGW)
set(UNIX FALSE)
endif()

include(CheckIncludeFile)
include(CheckLibraryExists)
include(CheckCSourceCompiles)
Expand Down

0 comments on commit ebb00f0

Please sign in to comment.