Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-02-17 23:16:09 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-02-17 23:16:09 +0300
commit573e14c592fcc61b228d3814c4d9d47009ddc11e (patch)
tree07900a3a2aae546a5b7c332c6e1c0f8ce8d58481 /source/blender/blenfont/CMakeLists.txt
parent473d00943b331ca1b819b3ddb9262e08774188a0 (diff)
2.5: CMake update for blenfont module, also some flags for scons
to make it compatible with makefiles and ftfont module.
Diffstat (limited to 'source/blender/blenfont/CMakeLists.txt')
-rw-r--r--source/blender/blenfont/CMakeLists.txt18
1 files changed, 13 insertions, 5 deletions
diff --git a/source/blender/blenfont/CMakeLists.txt b/source/blender/blenfont/CMakeLists.txt
index cd91bf69c91..e5019b53718 100644
--- a/source/blender/blenfont/CMakeLists.txt
+++ b/source/blender/blenfont/CMakeLists.txt
@@ -24,15 +24,23 @@
FILE(GLOB SRC intern/*.c)
-#SET(INC . intern ../../../intern/guardedalloc ../blenlib ../blenkernel ../makedna
-
SET(INC
- ../../../intern/guardedalloc ../blenlib ../makesdna
- ../blenkernel ../ftfont
+ ../../../intern/guardedalloc ../blenlib ../makesdna ../editors/include
+ ../blenkernel ../ftfont ../../../extern/glew/include
+ ${FTGL_INC}
+ ${FREETYPE_INC}
+ ${GETTEXT_INC}
)
+ADD_DEFINITIONS(-DFTGL_LIBRARY_STATIC)
+
IF(WITH_INTERNATIONAL)
ADD_DEFINITIONS(-DWITH_FREETYPE2)
ENDIF(WITH_INTERNATIONAL)
-BLENDERLIB(bf_blenfont "${SRC}" "${INC}") \ No newline at end of file
+IF(WIN32)
+ ADD_DEFINITIONS(-D_WIN32 -DUSE_GETTEXT_DLL)
+ENDIF(WIN32)
+
+BLENDERLIB(bf_blenfont "${SRC}" "${INC}")
+