aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/CMakeLists.txt
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2011-05-26 14:48:29 +0000
committerPierre Ossman <ossman@cendio.se>2011-05-26 14:48:29 +0000
commit407a5c3ce60e3e9d361c6d1e8a2a14c39946707e (patch)
tree46937e98dd44f48f4d79b1fb30d2f5bb9940a0a3 /vncviewer/CMakeLists.txt
parentad9d1aef3bbcb011b40411f2b720766c01376254 (diff)
downloadtigervnc-407a5c3ce60e3e9d361c6d1e8a2a14c39946707e.tar.gz
tigervnc-407a5c3ce60e3e9d361c6d1e8a2a14c39946707e.zip
Implement support for grabbing the keyboard when in full screen mode.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4449 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/CMakeLists.txt')
-rw-r--r--vncviewer/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/vncviewer/CMakeLists.txt b/vncviewer/CMakeLists.txt
index 59886401..54c93444 100644
--- a/vncviewer/CMakeLists.txt
+++ b/vncviewer/CMakeLists.txt
@@ -13,6 +13,14 @@ set(VNCVIEWER_SOURCES
keysym2ucs.c
vncviewer.cxx)
+if(WIN32)
+ set(VNCVIEWER_SOURCES ${VNCVIEWER_SOURCES} win32.c)
+endif()
+
+if(APPLE)
+ set(VNCVIEWER_SOURCES ${VNCVIEWER_SOURCES} cocoa.mm)
+endif()
+
add_executable(vncviewer ${VNCVIEWER_SOURCES})
target_link_libraries(vncviewer rfb network rdr os Xregion ${FLTK_LIBRARIES} ${GETTEXT_LIBRARIES})