added missing -DWITH_FREETYPE2 stuff, provided by Eugene Reilly.
[blender.git] / source / blender / blenkernel / CMakeLists.txt
index 2962997b8eece2321c7cb94e831114793b7ba77c..8ff6f8d8092228e4006e5349b66c07f3c6ce150c 100644 (file)
@@ -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)
+