summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-10-16 17:06:07 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-10-16 17:06:07 (GMT)
commit6b65a1b78f13adaa1cc95a805c558ac4f8e98278 (patch)
treeb0a43d77c059be89e06893905edd0d2545789153 /src
parent77f284a17545c32100d1560c7fd691455844f85c (diff)
downloadhdf5-6b65a1b78f13adaa1cc95a805c558ac4f8e98278.zip
hdf5-6b65a1b78f13adaa1cc95a805c558ac4f8e98278.tar.gz
hdf5-6b65a1b78f13adaa1cc95a805c558ac4f8e98278.tar.bz2
TRILAB-34 Add batch script config command
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index bf48915..ed97a76 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -899,6 +899,10 @@ if (NOT EXISTS ${HDF5_GENERATED_SOURCE_DIR}/H5Tinit.c)
)
if (HDF5_BATCH_H5DETECT)
+ configure_file (
+ ${HDF5_SOURCE_DIR}/bin/batch/${HDF5_DETECT_BATCH_SCRIPT}.in
+ ${HDF5_BINARY_DIR}/${HDF5_DETECT_BATCH_SCRIPT} ESCAPE_QUOTES @ONLY
+ )
add_custom_command (
OUTPUT ${HDF5_GENERATED_SOURCE_DIR}/H5Tinit.c
COMMAND ${HDF5_BATCH_CMD}