'scons blenderlite' failed because blf expected freetype
[blender-staging.git] / source / blender / blenfont / CMakeLists.txt
index c74b0a533f09ed92c573fa8a1e0b0d3dc8eb7bdc..cd91bf69c91bb82607bf4dd7f245771dce9dd7e4 100644 (file)
@@ -31,4 +31,8 @@ SET(INC
   ../blenkernel ../ftfont
 )
 
+IF(WITH_INTERNATIONAL)
+  ADD_DEFINITIONS(-DWITH_FREETYPE2)
+ENDIF(WITH_INTERNATIONAL)
+
 BLENDERLIB(bf_blenfont "${SRC}" "${INC}")
\ No newline at end of file