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:
authorCampbell Barton <ideasman42@gmail.com>2015-01-12 08:52:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-01-12 10:30:11 +0300
commitbae5826b65412ebfa354d34024af971e94cd1839 (patch)
treeb259ae1801d97edc80943c534ac79494f051b342 /source/blender/blenfont/CMakeLists.txt
parentf9c7cbd989c7ef82e46a997e2a3940e6f9e73213 (diff)
Fix T42069: Fonts /w non-ascii paths fail in win32
Workaround freetype's use of fopen by swapping FT_New_Face for our own version which uses BLI_fopen.
Diffstat (limited to 'source/blender/blenfont/CMakeLists.txt')
-rw-r--r--source/blender/blenfont/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenfont/CMakeLists.txt b/source/blender/blenfont/CMakeLists.txt
index 346d5bc64b8..392a9ede100 100644
--- a/source/blender/blenfont/CMakeLists.txt
+++ b/source/blender/blenfont/CMakeLists.txt
@@ -56,6 +56,12 @@ set(SRC
intern/blf_internal_types.h
)
+if(WIN32)
+ list(APPEND SRC
+ intern/blf_font_win32_compat.c
+ )
+endif()
+
if(WITH_INTERNATIONAL)
add_definitions(-DWITH_INTERNATIONAL)
endif()