]>
Commit | Line | Data |
---|---|---|
24f3ccb3 JB |
1 | --- plplot-5.9.9/cmake/modules/freetype.cmake.orig 2011-10-13 02:43:01.000000000 +0200 |
2 | +++ plplot-5.9.9/cmake/modules/freetype.cmake 2011-11-19 16:31:29.385484168 +0100 | |
3 | @@ -102,22 +102,6 @@ | |
4 | ) | |
5 | endforeach(FONT_ENTRY PL_FREETYPE_FONT_LIST) | |
6 | ||
7 | - # Check a couple of fonts actually exists | |
8 | - if (EXISTS ${PL_FREETYPE_FONT_DIR}${PL_FREETYPE_SANS}) | |
9 | - if (EXISTS ${PL_FREETYPE_FONT_DIR}${PL_FREETYPE_SYMBOL}) | |
10 | - else (EXISTS ${PL_FREETYPE_FONT_DIR}${PL_FREETYPE_SYMBOL}) | |
11 | - message("Fonts not found - disabling freetype") | |
12 | - set(WITH_FREETYPE OFF CACHE BOOL | |
13 | - "Enable driver options for using freetype library for fonts" FORCE | |
14 | - ) | |
15 | - endif (EXISTS ${PL_FREETYPE_FONT_DIR}${PL_FREETYPE_SYMBOL}) | |
16 | - else (EXISTS ${PL_FREETYPE_FONT_DIR}${PL_FREETYPE_SANS}) | |
17 | - message("Fonts not found - disabling freetype") | |
18 | - set(WITH_FREETYPE OFF CACHE BOOL | |
19 | - "Enable driver options for using freetype library for fonts" FORCE | |
20 | - ) | |
21 | - endif (EXISTS ${PL_FREETYPE_FONT_DIR}${PL_FREETYPE_SANS}) | |
22 | - | |
23 | endif (WITH_FREETYPE) | |
24 | ||
25 | if (WITH_FREETYPE) |