summaryrefslogtreecommitdiffstats
path: root/unix/x0vncserver
diff options
context:
space:
mode:
authorHenrik Andersson <henrik.andersson@cendio.com>2011-06-29 09:14:36 +0000
committerHenrik Andersson <henrik.andersson@cendio.com>2011-06-29 09:14:36 +0000
commiteb76c32e4671ab73d74dd3df3194885a209786ee (patch)
tree70e0596747b09031f7ad2027f94a4693279ee671 /unix/x0vncserver
parent07baad757a9978df45865928e19bb1f7c8310139 (diff)
downloadtigervnc-eb76c32e4671ab73d74dd3df3194885a209786ee.tar.gz
tigervnc-eb76c32e4671ab73d74dd3df3194885a209786ee.zip
Added leftout cmake build of x0vncserver, fixes bug #3329519.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4570 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/x0vncserver')
-rw-r--r--unix/x0vncserver/CMakeLists.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/unix/x0vncserver/CMakeLists.txt b/unix/x0vncserver/CMakeLists.txt
new file mode 100644
index 00000000..b2e1f86a
--- /dev/null
+++ b/unix/x0vncserver/CMakeLists.txt
@@ -0,0 +1,21 @@
+include_directories(${X11_INCLUDE_DIR})
+include_directories(${CMAKE_SOURCE_DIR}/unix/tx)
+include_directories(${CMAKE_SOURCE_DIR}/unix)
+include_directories(${CMAKE_SOURCE_DIR}/common)
+
+add_executable(x0vncserver
+ buildtime.c
+ Geometry.cxx
+ Image.cxx
+ PollingManager.cxx
+ PollingScheduler.cxx
+ TimeMillis.cxx
+ x0vncserver.cxx
+ XPixelBuffer.cxx
+ ../vncconfig/QueryConnectDialog.cxx
+)
+
+target_link_libraries(x0vncserver tx rfb network rdr ${X11_LIBRARIES})
+
+install(TARGETS x0vncserver DESTINATION bin)
+install(FILES x0vncserver.man DESTINATION man/man1 RENAME xvnc0server.1)