]> source.dussan.org Git - tigervnc.git/commitdiff
Add some more libraries that are generally needed by FLTK and CMake doesn't
authorPierre Ossman <ossman@cendio.se>
Tue, 24 May 2011 07:49:09 +0000 (07:49 +0000)
committerPierre Ossman <ossman@cendio.se>
Tue, 24 May 2011 07:49:09 +0000 (07:49 +0000)
figure out by itself.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4441 3789f03b-4d11-0410-bbf8-ca57d06f2519

CMakeLists.txt

index 5ef2ee2e098ab1d6950caaae6a155e58988d1368..b696e70a178dc3f9d0b9ffa02d15b903a75ca774 100644 (file)
@@ -178,6 +178,12 @@ if(BUILD_NEW_VNCVIEWER)
   find_package(FLTK COMPONENTS REQUIRED)
 
   # No proper handling for extra X11 libs that FLTK might need...
+  if(X11_Xft_FOUND)
+    set(FLTK_LIBRARIES ${FLTK_LIBRARIES} ${X11_Xft_LIB})
+  endif()
+  if(X11_Xinerama_FOUND)
+    set(FLTK_LIBRARIES ${FLTK_LIBRARIES} ${X11_Xinerama_LIB})
+  endif()
   if(X11_Xfixes_FOUND)
     set(FLTK_LIBRARIES ${FLTK_LIBRARIES} ${X11_Xfixes_LIB})
   endif()