summaryrefslogtreecommitdiffstats
path: root/tools/perform
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-08-13 18:12:49 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-08-13 18:12:49 (GMT)
commit74946ac7dc1bce443ba5eb61c0a0ace05274cb59 (patch)
treeb0631da0b2fd9c3feac4954840378065a360b7f7 /tools/perform
parent3d386a724e1b724b9a60357cb5154b9e9ba2fc36 (diff)
downloadhdf5-74946ac7dc1bce443ba5eb61c0a0ace05274cb59.zip
hdf5-74946ac7dc1bce443ba5eb61c0a0ace05274cb59.tar.gz
hdf5-74946ac7dc1bce443ba5eb61c0a0ace05274cb59.tar.bz2
Exclude test file when BUILD_TESTING off
Diffstat (limited to 'tools/perform')
-rw-r--r--tools/perform/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perform/CMakeLists.txt b/tools/perform/CMakeLists.txt
index b34f89f..9784ffe 100644
--- a/tools/perform/CMakeLists.txt
+++ b/tools/perform/CMakeLists.txt
@@ -20,7 +20,7 @@ else ()
endif ()
set_target_properties (h5perf_serial PROPERTIES FOLDER perform)
-if (HDF5_BUILD_PERFORM_STANDALONE)
+if (HDF5_BUILD_PERFORM_STANDALONE AND BUILD_TESTING)
#-- Adding test for h5perf_serial_alone
set (h5perf_serial_alone_SOURCES
${HDF5_TOOLS_PERFORM_SOURCE_DIR}/sio_perf.c
@@ -179,4 +179,3 @@ endif ()
if (BUILD_TESTING)
include (CMakeTests.cmake)
endif ()
- \ No newline at end of file