From 868773d21fa5942e4466c879b2dc27d12c5852d0 Mon Sep 17 00:00:00 2001
From: Jorrit Schaap <schaap@astron.nl>
Date: Fri, 19 Jun 2020 15:56:16 +0200
Subject: [PATCH] TMSS-207: IF(BUILD_TESTING)

---
 QA/QA_Common/test/CMakeLists.txt | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/QA/QA_Common/test/CMakeLists.txt b/QA/QA_Common/test/CMakeLists.txt
index e7de2d7e597..f311211225c 100644
--- a/QA/QA_Common/test/CMakeLists.txt
+++ b/QA/QA_Common/test/CMakeLists.txt
@@ -18,7 +18,9 @@
 # $Id$
 include(LofarCTest)
 
-lofar_add_test(t_hdf5_io)
-set_tests_properties(t_hdf5_io PROPERTIES TIMEOUT 300)
+IF(BUILD_TESTING)
+    lofar_add_test(t_hdf5_io)
+    set_tests_properties(t_hdf5_io PROPERTIES TIMEOUT 300)
+ENDIF(BUILD_TESTING)
 
 
-- 
GitLab