- check IF WIN32 AND NOT UNIX (for cygwin)
[blender.git] / source / blenderplayer / CMakeLists.txt
index ada62851bc534c29ad93684263fbbb670bdb9348..d1aee8c9d160f389d728a724659ca2d3a503185d 100644 (file)
@@ -43,11 +43,11 @@ ADD_CUSTOM_COMMAND(
        DEPENDS ${CMAKE_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/makesdna
 )
 
-IF(WIN32)
+IF(WIN32 AND NOT UNIX)
        ADD_EXECUTABLE(blenderplayer ${EXETYPE} ${CMAKE_CURRENT_BINARY_DIR}/dna.c ../icons/winblender.rc)
-ELSE(WIN32)
+ELSE(WIN32 AND NOT UNIX)
        ADD_EXECUTABLE(blenderplayer ${CMAKE_CURRENT_BINARY_DIR}/dna.c)
-ENDIF(WIN32)
+ENDIF(WIN32 AND NOT UNIX)
 
 ADD_DEPENDENCIES(blenderplayer makesdna)