summaryrefslogtreecommitdiffstats
path: root/unix/x0vncserver
diff options
context:
space:
mode:
Diffstat (limited to 'unix/x0vncserver')
-rw-r--r--unix/x0vncserver/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/x0vncserver/CMakeLists.txt b/unix/x0vncserver/CMakeLists.txt
index 64c9e779..82f0d2ac 100644
--- a/unix/x0vncserver/CMakeLists.txt
+++ b/unix/x0vncserver/CMakeLists.txt
@@ -15,7 +15,7 @@ add_executable(x0vncserver
../vncconfig/QueryConnectDialog.cxx
)
-target_link_libraries(x0vncserver tx rfb network rdr ${X11_LIBRARIES})
+target_link_libraries(x0vncserver tx rfb network rdr)
if(X11_FOUND AND X11_XTest_LIB)
add_definitions(-DHAVE_XTEST)
@@ -31,5 +31,7 @@ else()
message(WARNING "No DAMAGE extension. x0vncserver will have to use the slower polling method.")
endif()
+target_link_libraries(x0vncserver ${X11_LIBRARIES})
+
install(TARGETS x0vncserver DESTINATION ${BIN_DIR})
install(FILES x0vncserver.man DESTINATION ${MAN_DIR}/man1 RENAME x0vncserver.1)