added missing -DWITH_FREETYPE2 stuff, provided by Eugene Reilly.
authorKent Mein <mein@cs.umn.edu>
Wed, 6 Dec 2006 00:04:53 +0000 (00:04 +0000)
committerKent Mein <mein@cs.umn.edu>
Wed, 6 Dec 2006 00:04:53 +0000 (00:04 +0000)
Kent

source/blender/blenkernel/CMakeLists.txt
source/blender/blenlib/CMakeLists.txt

index 2962997..8ff6f8d 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)
+
index 783af01..4812cad 100644 (file)
@@ -42,7 +42,7 @@ IF(WITH_VERSE)
 ENDIF(WITH_VERSE)
 
 IF(WITH_INTERNATIONAL)
-  ADD_DEFINITIONS(-DWITH_FREETYPE)
+  ADD_DEFINITIONS(-DWITH_FREETYPE2)
 ENDIF(WITH_INTERNATIONAL)
 
 IF(WIN32)