summaryrefslogtreecommitdiffstats
path: root/krfb/libvncserver/CMakeLists.txt
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-04-08 11:56:31 -0500
committerTimothy Pearson <[email protected]>2013-04-08 11:56:31 -0500
commit339d5c5986e559e69dd880375add24c0f39cdb8c (patch)
tree15c96d5015dea795f5bfaf9a751016189c1dcf67 /krfb/libvncserver/CMakeLists.txt
parent05273794a3a86e5c2da0d2082fc660f329ebb69a (diff)
downloadtdenetwork-339d5c5986e559e69dd880375add24c0f39cdb8c.tar.gz
tdenetwork-339d5c5986e559e69dd880375add24c0f39cdb8c.zip
Use TQThread in krfb where threads interact with TQt3 instead of direct pthread access
This resolves Bug 1403
Diffstat (limited to 'krfb/libvncserver/CMakeLists.txt')
-rw-r--r--krfb/libvncserver/CMakeLists.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/krfb/libvncserver/CMakeLists.txt b/krfb/libvncserver/CMakeLists.txt
index 9f1009c6..fece6692 100644
--- a/krfb/libvncserver/CMakeLists.txt
+++ b/krfb/libvncserver/CMakeLists.txt
@@ -9,14 +9,20 @@
#
#################################################
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+
add_definitions( -DHAVE_PTHREADS -DALLOW24BPP )
##### vncserver (static) ########################
-tde_add_library( vncserver STATIC_PIC
+tde_add_library( vncserver STATIC_PIC AUTOMOC
SOURCES
- main.c rfbserver.c sraRegion.c auth.c sockets.c stats.c corre.c
+ main.cc rfbserver.c sraRegion.c auth.c sockets.c stats.c corre.c
hextile.c rre.c translate.c cutpaste.c zlib.c tight.c httpd.c
cursor.c font.c draw.c selbox.c d3des.c vncauth.c cargs.c
)