From 58fdda4ff0555152a7aab62f3a4378d49ea747f8 Mon Sep 17 00:00:00 2001 From: DRC Date: Wed, 5 Oct 2011 09:32:28 +0000 Subject: [PATCH] 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 --- vncviewer/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vncviewer/CMakeLists.txt b/vncviewer/CMakeLists.txt index 03fb9c04..5639ccb1 100644 --- a/vncviewer/CMakeLists.txt +++ b/vncviewer/CMakeLists.txt @@ -49,7 +49,11 @@ if(NOT GNUTLS_FOUND AND WIN32) 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() -- 2.39.5