diff options
| author | Manolo Gouy <Manolo> | 2016-12-21 15:05:02 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-12-21 15:05:02 +0000 |
| commit | 461750c38e1835e4a730e0f83a48fe090f41feae (patch) | |
| tree | eb7091c6cc46c06bfb47abe1ff5ca2c8ada3fa3d /src/CMakeLists.txt | |
| parent | 00ebcd23aa5e17dad822ab79584b0220341e1831 (diff) | |
X11 platform: Add optional use of the pango library to draw text, gaining the possibility to draw text in any script supported by Unicode.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12153 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e3089e83e..b3384614a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -470,6 +470,13 @@ if (HAVE_XRENDER) list (APPEND OPTIONAL_LIBS ${X11_Xrender_LIB}) endif (HAVE_XRENDER) +if (USE_PANGO) + list (APPEND OPTIONAL_LIBS ${HAVE_LIB_PANGO} ${HAVE_LIB_PANGOXFT}) + if(NOT APPLE) + list (APPEND OPTIONAL_LIBS ${HAVE_LIB_GOBJECT} ) + endif(NOT APPLE) +endif(USE_PANGO) + if (USE_XFT) list (APPEND OPTIONAL_LIBS ${X11_Xft_LIB}) if (LIB_fontconfig) |
