- check IF WIN32 AND NOT UNIX (for cygwin)
[blender.git] / source / blender / blenfont / CMakeLists.txt
index f6afa31a28d2f23b6b887dac445213b07bdb29dc..131ff861a5c4c86cdedbcf1ebfa72cb2d326bc71 100644 (file)
@@ -47,9 +47,9 @@ IF(WITH_INTERNATIONAL)
        ADD_DEFINITIONS(-DINTERNATIONAL)
 ENDIF(WITH_INTERNATIONAL)
 
        ADD_DEFINITIONS(-DINTERNATIONAL)
 ENDIF(WITH_INTERNATIONAL)
 
-IF(WIN32)
-       ADD_DEFINITIONS(-D_WIN32 -DUSE_GETTEXT_DLL)
-ENDIF(WIN32)
+IF(WIN32 AND NOT UNIX)
+       ADD_DEFINITIONS(-DUSE_GETTEXT_DLL)
+ENDIF(WIN32 AND NOT UNIX)
 
 BLENDERLIB(bf_blenfont "${SRC}" "${INC}")
 
 
 BLENDERLIB(bf_blenfont "${SRC}" "${INC}")