From d860870b0a52d7a51495379e505492639bc4bb5f Mon Sep 17 00:00:00 2001
From: Owen Arnold <owen.arnold@stfc.ac.uk>
Date: Thu, 26 May 2011 15:09:40 +0000
Subject: [PATCH] re #3070 Still need MAKE_VATES for now. We should remove this
 soon and rely on finding Paraview.

---
 Code/Mantid/CMakeLists.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Code/Mantid/CMakeLists.txt b/Code/Mantid/CMakeLists.txt
index 0ed1fa4e9a4..11c720159a3 100644
--- a/Code/Mantid/CMakeLists.txt
+++ b/Code/Mantid/CMakeLists.txt
@@ -70,7 +70,9 @@ set ( REDUCER_TEST OFF CACHE BOOL "Switch for running flaky Reducer test")
 set ( CXXTEST_SINGLE_LOGFILE CACHE BOOL "Switch to have the tests for each package run together")
 set ( CXXTEST_ADD_PERFORMANCE OFF CACHE BOOL "Switch to add Performance tests to the list of tests run by ctest?") 
 
-add_subdirectory ( Vates )
+if ( MAKE_VATES )
+  add_subdirectory ( Vates )
+endif ( MAKE_VATES )
 
 # python unit tests
 if (PYUNITTEST_FOUND)
-- 
GitLab