Hello tigervnc developers,

Would you like to make an options to select whether to build vncviewer?

Among linux the linux distributions, probably, server part and  viewer
part are provided as separated packages because generally vncserver and
vncviewer run on different machines. I maintain TigerVNC port/package for
FreeBSD. This patch really helps me to make them as separated packages.

Please see attached patch.

Thanks,
--
`whois vmeta.jp | nkf -w`
meta <m...@vmeta.jp>
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt      (revision 5159)
+++ CMakeLists.txt      (working copy)
@@ -390,9 +390,12 @@
   add_subdirectory(po)
 endif()
 
-add_subdirectory(vncviewer)
+option(BUILD_VIEWER "Build TigerVNC viewer" ON)
+if(BUILD_VIEWER)
+  add_subdirectory(vncviewer)
+  add_subdirectory(media)
+endif()
 
-add_subdirectory(media)
 
 include(cmake/BuildPackages.cmake)
 
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to