diff --git a/QA/QA_Common/test/CMakeLists.txt b/QA/QA_Common/test/CMakeLists.txt index e7de2d7e597a0f6ad83400dd57787ffdaf1fee05..f311211225cde88f947d693a927e9e0f23a687d3 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)