On Tue, 27 Mar 2012 10:46:34 +0200 Arthur Huillet <arthur.huil...@free.fr> wrote:
> On Tue, 27 Mar 2012 10:41:36 +0200 > Pierre Ossman <oss...@cendio.se> wrote: > > > Might also want to use CMake's functions for searching for libraries. > > As far as I'm concerned, a patch that fixes the build where it is broken and > doesn't break it where it was working is a net improvement. > I don't know CMake and don't particularly like it, since you seem to know what > to do it's probably better if you do it yourself. > I'm afraid I can't produce the problem here, so I can't solve it by myself. Could you test this patch: Index: CMakeLists.txt =================================================================== --- CMakeLists.txt (revision 4872) +++ CMakeLists.txt (working copy) @@ -246,7 +246,10 @@ 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}) Rgds -- Pierre Ossman OpenSource-based Thin Client Technology System Developer Telephone: +46-13-21 46 00 Cendio AB Web: http://www.cendio.com A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________ Tigervnc-devel mailing list Tigervnc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-devel