summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2011-05-24 07:49:09 +0000
committerPierre Ossman <ossman@cendio.se>2011-05-24 07:49:09 +0000
commit34dde79d89a813f7cb1fe0aa78cb320096682df0 (patch)
treea0f976e99e6e6012007de2248becaa4952d39c29
parentc628ba44c1a98cdee6580587bc50380b6cbc46e2 (diff)
downloadtigervnc-34dde79d89a813f7cb1fe0aa78cb320096682df0.tar.gz
tigervnc-34dde79d89a813f7cb1fe0aa78cb320096682df0.zip
Add some more libraries that are generally needed by FLTK and CMake doesn't
figure out by itself. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4441 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r--CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5ef2ee2e..b696e70a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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()