summaryrefslogtreecommitdiffstats
path: root/vncviewer
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2014-10-17 13:54:32 +0200
committerPierre Ossman <ossman@cendio.se>2014-10-17 13:54:32 +0200
commit428de117942586bd1bde740c070a8ce6b3ae23e0 (patch)
treee1e27860ac83b108f57bb25508f33b905c9c5bdc /vncviewer
parent42c379ef3cda9e002970a6888a256d349d3e3b39 (diff)
downloadtigervnc-428de117942586bd1bde740c070a8ce6b3ae23e0.tar.gz
tigervnc-428de117942586bd1bde740c070a8ce6b3ae23e0.zip
Move ws2_32 dependency to the correct place
It is rdr and network that needs it, not vncviewer.
Diffstat (limited to 'vncviewer')
-rw-r--r--vncviewer/CMakeLists.txt7
1 files changed, 0 insertions, 7 deletions
diff --git a/vncviewer/CMakeLists.txt b/vncviewer/CMakeLists.txt
index beca98d1..c6e778f1 100644
--- a/vncviewer/CMakeLists.txt
+++ b/vncviewer/CMakeLists.txt
@@ -48,13 +48,6 @@ endif()
target_link_libraries(vncviewer rfb network rdr os Xregion ${FLTK_LIBRARIES} ${GETTEXT_LIBRARIES})
-# When building with GnuTLS, librdr depends on ws2_32, so in order to make
-# MinGW happy, we need to put ws2_32 in librdr's target_link_libraries string,
-# not here.
-if(NOT GNUTLS_FOUND AND WIN32)
- target_link_libraries(vncviewer ws2_32)
-endif()
-
install(TARGETS vncviewer DESTINATION ${BIN_DIR})
if(UNIX)
install(FILES vncviewer.man DESTINATION ${MAN_DIR}/man1 RENAME vncviewer.1)