From 08c762a7a3953a8ee8228c7bcc4e3c94fae5724b Mon Sep 17 00:00:00 2001 From: JJ Allaire Date: Tue, 23 Jul 2013 18:40:59 -0400 Subject: [PATCH] don't build gwt for monitor-only config --- src/CMakeLists.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d23062b8215..8edd57c16bb 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -15,9 +15,12 @@ cmake_minimum_required(VERSION 2.6) # don't add gwt for special 64-bit binary builds on windows (since -# we've already got it from the 32-bit build) or for development mode -# (since we'll want to build it incrementally using superdevmode) -if ( (NOT RSTUDIO_SESSION_WIN64) AND (NOT RSTUDIO_DEVELOPMENT) ) +# we've already got it from the 32-bit build), for development mode +# (since we'll want to build it incrementally using superdevmode), +# or when building monitor only +if ( (NOT RSTUDIO_SESSION_WIN64) AND + (NOT RSTUDIO_DEVELOPMENT) AND + (NOT RSTUDIO_CONFIG_MONITOR_ONLY) ) add_subdirectory(gwt) endif()