aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2011-10-04 04:03:34 +0000
committerDRC <dcommander@users.sourceforge.net>2011-10-04 04:03:34 +0000
commit7636ad0cc4186ec01827696426a03cca914ce57b (patch)
treeabb0fc645f97a272545cfdb06262d2ccd09a0331 /CMakeLists.txt
parente334a8aa00789c720aa70694fe2e134a65deda12 (diff)
downloadtigervnc-7636ad0cc4186ec01827696426a03cca914ce57b.tar.gz
tigervnc-7636ad0cc4186ec01827696426a03cca914ce57b.zip
Integrate Java TigerVNC Viewer build into CMake build system
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4690 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e330dc6e..5bba01f1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -260,6 +260,11 @@ if(NOT FOUND_LIBJPEG_TURBO)
message(STATUS "WARNING: You are not using libjpeg-turbo. Performance will suffer.")
endif()
+option(BUILD_JAVA "Build Java version of the TigerVNC Viewer" FALSE)
+if(BUILD_JAVA)
+ add_subdirectory(java/src)
+endif()
+
# Check for FLTK
if(BUILD_NEW_VNCVIEWER)
set(FLTK_SKIP_FLUID TRUE)