diff options
-rw-r--r-- | vncviewer/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
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() |