Browse Source

Using libXft means using libfontconfig, so make sure we add that to

the link line.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4875 3789f03b-4d11-0410-bbf8-ca57d06f2519
tags/v1.2.90
Pierre Ossman 12 years ago
parent
commit
e43d1aaea6
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      CMakeLists.txt

+ 4
- 1
CMakeLists.txt View File

@@ -257,7 +257,10 @@ find_package(FLTK)
if(UNIX AND NOT APPLE)
# No proper handling for extra X11 libs that FLTK might need...
if(X11_Xft_FOUND)
set(FLTK_LIBRARIES ${FLTK_LIBRARIES} ${X11_Xft_LIB})
# Xft headers include references to fontconfig, so we need
# to link to that as well
find_library(FONTCONFIG_LIB fontconfig)
set(FLTK_LIBRARIES ${FLTK_LIBRARIES} ${X11_Xft_LIB} ${FONTCONFIG_LIB})
endif()
if(X11_Xinerama_FOUND)
set(FLTK_LIBRARIES ${FLTK_LIBRARIES} ${X11_Xinerama_LIB})

Loading…
Cancel
Save