added missing -DWITH_FREETYPE2 stuff, provided by Eugene Reilly.
[blender.git] / source / blender / blenkernel / CMakeLists.txt
index 33d3359bf5df32819e4257bfa119d17d65d121f5..8ff6f8d8092228e4006e5349b66c07f3c6ce150c 100644 (file)
@@ -48,12 +48,12 @@ IF(WITH_OPENEXR)
 ENDIF(WITH_OPENEXR)
 
 IF(WITH_QUICKTIME)
-  SET(INC ${INC} QUICKTIME_INC)
+  SET(INC ${INC} ${QUICKTIME_INC})
   ADD_DEFINITIONS(-DWITH_QUICKTIME)
 ENDIF(WITH_QUICKTIME)
 
 IF(WITH_FFMPEG)
-  SET(INC ${INC} FFMPEG_INC)
+  SET(INC ${INC} ${FFMPEG_INC})
   ADD_DEFINITIONS(-DWITH_FFMPEG)
 ENDIF(WITH_FFMPEG)
 
@@ -65,3 +65,8 @@ ADD_DEFINITIONS(-DWITH_CCGSUBSURF)
 
 BLENDERLIB(bf_blenkernel "${SRC}" "${INC}")
 ADD_DEPENDENCIES(bf_blenkernel mkprot verse)
+
+IF(WITH_INTERNATIONAL)
+   ADD_DEFINITIONS(-DWITH_FREETYPE2)
+ENDIF(WITH_INTERNATIONAL)
+