]> source.dussan.org Git - tigervnc.git/commitdiff
Only include Java viewer resources if BUILD_JAVA is defined
authorDRC <dcommander@users.sourceforge.net>
Wed, 5 Oct 2011 09:41:53 +0000 (09:41 +0000)
committerDRC <dcommander@users.sourceforge.net>
Wed, 5 Oct 2011 09:41:53 +0000 (09:41 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4706 3789f03b-4d11-0410-bbf8-ca57d06f2519

win/winvnc/winvnc.rc.in

index 935200609b19a99d0b0061097a0ccbd87a8b5d2a..857f077a43c446099dece5b2dfe6d2b6007fff69 100644 (file)
@@ -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
 
 /////////////////////////////////////////////////////////////////////////////
 //