diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-02-17 23:16:09 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-02-17 23:16:09 +0300 |
commit | 573e14c592fcc61b228d3814c4d9d47009ddc11e (patch) | |
tree | 07900a3a2aae546a5b7c332c6e1c0f8ce8d58481 /source/blender/blenfont/SConscript | |
parent | 473d00943b331ca1b819b3ddb9262e08774188a0 (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/SConscript')
-rw-r--r-- | source/blender/blenfont/SConscript | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenfont/SConscript b/source/blender/blenfont/SConscript index fb162cdd80b..42ccfc8e2ed 100644 --- a/source/blender/blenfont/SConscript +++ b/source/blender/blenfont/SConscript @@ -15,4 +15,8 @@ defs = '' if env['WITH_BF_INTERNATIONAL']: defs += ' WITH_FREETYPE2' +defs = 'FTGL_STATIC_LIBRARY' +if sys.platform == 'win32': + defs += ' _WIN32 USE_GETTEXT_DLL' + env.BlenderLib ( 'bf_blenfont', sources, Split(incs), Split(defs), libtype=['core'], priority=[210] ) |