- check IF WIN32 AND NOT UNIX (for cygwin)
[blender.git] / source / blender / makesdna / intern / CMakeLists.txt
index d42289e17c49ee2c1fbb5686f74eb6ab496d3e65..61a6778c13fcbbecf5bb3c3193d769b73150509a 100644 (file)
@@ -33,9 +33,9 @@ SET(SRC
        ../../../../intern/guardedalloc/intern/mallocn.c
 )
 
-IF(WIN32)
+IF(WIN32 AND NOT UNIX)
        LIST(APPEND SRC ../../../../intern/guardedalloc/intern/mmap_win.c)
-ENDIF(WIN32)
+ENDIF(WIN32 AND NOT UNIX)
 
 ADD_EXECUTABLE(makesdna ${SRC} ${INC_FILES})