It is our convention to install Windows executables in the top-level install directory rather than under bin/


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4705 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/vncviewer/CMakeLists.txt b/vncviewer/CMakeLists.txt
index 03fb9c0..5639ccb 100644
--- a/vncviewer/CMakeLists.txt
+++ b/vncviewer/CMakeLists.txt
@@ -49,7 +49,11 @@
   target_link_libraries(vncviewer ws2_32)
 endif()
 
-install(TARGETS vncviewer DESTINATION bin)
+if(WIN32)
+  install(TARGETS vncviewer DESTINATION .)
+else()
+  install(TARGETS vncviewer DESTINATION bin)
+endif()
 if(UNIX)
   install(FILES vncviewer.man DESTINATION man/man1 RENAME vncviewer.1)
 endif()