aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2011-10-05 09:41:53 +0000
committerDRC <dcommander@users.sourceforge.net>2011-10-05 09:41:53 +0000
commit857f1337ebc288a5bf088e21f0a255669985f187 (patch)
tree4271954f5cb6c2a18dca0abdbb4765784549914c
parent58fdda4ff0555152a7aab62f3a4378d49ea747f8 (diff)
downloadtigervnc-857f1337ebc288a5bf088e21f0a255669985f187.tar.gz
tigervnc-857f1337ebc288a5bf088e21f0a255669985f187.zip
Only include Java viewer resources if BUILD_JAVA is defined
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4706 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r--win/winvnc/winvnc.rc.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/win/winvnc/winvnc.rc.in b/win/winvnc/winvnc.rc.in
index 93520060..857f077a 100644
--- a/win/winvnc/winvnc.rc.in
+++ b/win/winvnc/winvnc.rc.in
@@ -220,8 +220,12 @@ END
// HTTPFILE
//
+#cmakedefine BUILD_JAVA
+
+#ifdef BUILD_JAVA
/VNCVIEWER.JAR HTTPFILE DISCARDABLE "@CMAKE_WIN_BINARY_DIR@\\java\\src\\VncViewer.jar"
/INDEX.VNC HTTPFILE DISCARDABLE "@CMAKE_WIN_SOURCE_DIR@\\win\\winvnc\\index.vnc"
+#endif
/////////////////////////////////////////////////////////////////////////////
//