summaryrefslogtreecommitdiffstats
path: root/cmake/BuildPackages.cmake
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2011-11-08 08:58:19 +0000
committerDRC <dcommander@users.sourceforge.net>2011-11-08 08:58:19 +0000
commite4f7c77bf9e083a925fced5b8316eadc2012ef00 (patch)
tree6f4e28cbcc1709d93a723e6539e31056750fbfb0 /cmake/BuildPackages.cmake
parentc67db65070d74f86f55705547907d3d288a763db (diff)
downloadtigervnc-e4f7c77bf9e083a925fced5b8316eadc2012ef00.tar.gz
tigervnc-e4f7c77bf9e083a925fced5b8316eadc2012ef00.zip
If the Java viewer build is enabled, make sure it gets built when doing 'make installer'
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4777 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'cmake/BuildPackages.cmake')
-rw-r--r--cmake/BuildPackages.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/BuildPackages.cmake b/cmake/BuildPackages.cmake
index 23cb0541..7e3dadf2 100644
--- a/cmake/BuildPackages.cmake
+++ b/cmake/BuildPackages.cmake
@@ -19,6 +19,9 @@ set(INST_DEPS vncviewer)
if(BUILD_WINVNC)
set(INST_DEFS ${INST_DEFS} -DBUILD_WINVNC)
+ if(BUILD_JAVA)
+ set(INST_DEPS ${INST_DEPS} java)
+ endif()
set(INST_DEPS ${INST_DEPS} winvnc4 wm_hooks vncconfig)
endif()