diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-05-04 14:45:43 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-05-04 14:45:43 +0200 |
commit | 333aa2f3fdc24c993ede6d24c48a5de3f0ab1fb5 (patch) | |
tree | 9aa34c8d56182d053a85cf7a18af5180cf808843 /common/rfb/CMakeLists.txt | |
parent | 8ccc32337af1aabb7e1793499d6fd2ddf8d6ae84 (diff) | |
download | tigervnc-333aa2f3fdc24c993ede6d24c48a5de3f0ab1fb5.tar.gz tigervnc-333aa2f3fdc24c993ede6d24c48a5de3f0ab1fb5.zip |
Only include syslog logger on Unix systems
Diffstat (limited to 'common/rfb/CMakeLists.txt')
-rw-r--r-- | common/rfb/CMakeLists.txt | 5 |
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) |