From 889b4896f46787aba1790724608c207666b7d4c8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20=C3=85strand?= Date: Thu, 20 Feb 2014 08:04:17 +0000 Subject: [PATCH] Applied patch from: Koichiro IWAO Option for disabling build of vncviewer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5161 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0c78d15c..57b0f032 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -402,9 +402,12 @@ if(ENABLE_NLS) add_subdirectory(po) endif() -add_subdirectory(vncviewer) +option(BUILD_VIEWER "Build TigerVNC viewer" ON) +if(BUILD_VIEWER) + add_subdirectory(vncviewer) + add_subdirectory(media) +endif() -add_subdirectory(media) include(cmake/BuildPackages.cmake) -- 2.39.5