summaryrefslogtreecommitdiffstats
path: root/common/rfb
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb')
-rw-r--r--common/rfb/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/rfb/CMakeLists.txt b/common/rfb/CMakeLists.txt
index 7679437c..d0430496 100644
--- a/common/rfb/CMakeLists.txt
+++ b/common/rfb/CMakeLists.txt
@@ -59,12 +59,15 @@ set(RFB_SOURCES
UpdateTracker.cxx
VNCSConnectionST.cxx
VNCServerST.cxx
- WinPasswdValidator.cxx # Windows specific code
ZRLEEncoder.cxx
ZRLEDecoder.cxx
encodings.cxx
util.cxx)
+if(WIN32)
+ set(RFB_SOURCES ${RFB_SOURCES} WinPasswdValidator.cxx)
+endif(WIN32)
+
set(RFB_LIBRARIES ${JPEG_LIBRARIES} os)
if(GNUTLS_FOUND)