From 448fd3a5e720537f82138874ff1deff38dd2e5fe Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 27 Mar 2012 10:28:18 +0000 Subject: [PATCH] Missed vncviewer in previous commit. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4874 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- vncviewer/CMakeLists.txt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/vncviewer/CMakeLists.txt b/vncviewer/CMakeLists.txt index 5639ccb1..dbd2d026 100644 --- a/vncviewer/CMakeLists.txt +++ b/vncviewer/CMakeLists.txt @@ -49,11 +49,7 @@ if(NOT GNUTLS_FOUND AND WIN32) target_link_libraries(vncviewer ws2_32) endif() -if(WIN32) - install(TARGETS vncviewer DESTINATION .) -else() - install(TARGETS vncviewer DESTINATION bin) -endif() +install(TARGETS vncviewer DESTINATION ${BIN_DIR}) if(UNIX) - install(FILES vncviewer.man DESTINATION man/man1 RENAME vncviewer.1) + install(FILES vncviewer.man DESTINATION ${MAN_DIR}/man1 RENAME vncviewer.1) endif() -- 2.39.5