|
@@ -29,6 +29,11 @@ if(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
|
|
|
set(SOLARIS TRUE)
|
|
set(SOLARIS TRUE)
|
|
|
endif()
|
|
endif()
|
|
|
|
|
|
|
|
|
|
+# Don't treat MingW as Unix; use it as a strictly-Windows compiler.
|
|
|
|
|
+if(MINGW)
|
|
|
|
|
+ set(UNIX FALSE)
|
|
|
|
|
+endif()
|
|
|
|
|
+
|
|
|
include(CheckIncludeFile)
|
|
include(CheckIncludeFile)
|
|
|
include(CheckLibraryExists)
|
|
include(CheckLibraryExists)
|
|
|
include(CheckCSourceCompiles)
|
|
include(CheckCSourceCompiles)
|