aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()