From 593d9ae738b1a80706ecf85b473e2fe84b11fca1 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Wed, 6 Dec 2006 00:04:53 +0000 Subject: [PATCH] added missing -DWITH_FREETYPE2 stuff, provided by Eugene Reilly. Kent --- source/blender/blenkernel/CMakeLists.txt | 5 +++++ source/blender/blenlib/CMakeLists.txt | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/source/blender/blenkernel/CMakeLists.txt b/source/blender/blenkernel/CMakeLists.txt index 2962997b8ee..8ff6f8d8092 100644 --- a/source/blender/blenkernel/CMakeLists.txt +++ b/source/blender/blenkernel/CMakeLists.txt @@ -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) + diff --git a/source/blender/blenlib/CMakeLists.txt b/source/blender/blenlib/CMakeLists.txt index 783af015b47..4812cad033d 100644 --- a/source/blender/blenlib/CMakeLists.txt +++ b/source/blender/blenlib/CMakeLists.txt @@ -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)