summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 b690ec15..14b8b72a 100644
--- a/common/rfb/CMakeLists.txt
+++ b/common/rfb/CMakeLists.txt
@@ -29,7 +29,6 @@ set(RFB_SOURCES
Logger.cxx
Logger_file.cxx
Logger_stdio.cxx
- Logger_syslog.cxx
Password.cxx
PixelBuffer.cxx
PixelFormat.cxx
@@ -63,6 +62,10 @@ set(RFB_SOURCES
encodings.cxx
util.cxx)
+if(UNIX)
+ set(RFB_SOURCES ${RFB_SOURCES} Logger_syslog.cxx)
+endif()
+
if(WIN32)
include_directories(${CMAKE_SOURCE_DIR}/win)
set(RFB_SOURCES ${RFB_SOURCES} WinPasswdValidator.cxx)