diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-10-12 18:55:29 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-10-12 18:55:29 (GMT) |
commit | 689f184345d9014f5725b8bc7f96945e78001a2f (patch) | |
tree | 1cb414fcb1ebee293a76c4ed7c77f459c1046183 | |
parent | 42c8dd66d7c58c454d36f5d0016c2763f491270d (diff) | |
download | hdf5-689f184345d9014f5725b8bc7f96945e78001a2f.zip hdf5-689f184345d9014f5725b8bc7f96945e78001a2f.tar.gz hdf5-689f184345d9014f5725b8bc7f96945e78001a2f.tar.bz2 |
TRILAB-34 batch command options
-rw-r--r-- | src/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f41e31b..e511469 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -898,12 +898,11 @@ if (NOT EXISTS ${HDF5_GENERATED_SOURCE_DIR}/H5Tinit.c) PRIVATE $<$<PLATFORM_ID:Emscripten>:"-O0"> ) - option (HDF5_BATCH_H5DETECT "Use batch file to execute H5detect" OFF) if (HDF5_BATCH_H5DETECT) add_custom_command ( OUTPUT ${HDF5_GENERATED_SOURCE_DIR}/H5Tinit.c - COMMAND ${HDF5_BATCH_H5DETECT_CMD} - ARGS ${HDF5_GENERATED_SOURCE_DIR}/H5Tinit.c + COMMAND ${HDF5_BATCH_CMD} + ARGS ${HDF5_BATCH_H5DETECT_SCRIPT} ${HDF5_GENERATED_SOURCE_DIR}/H5Tinit.c DEPENDS H5detect WORKING_DIRECTORY ${HDF5_GENERATED_SOURCE_DIR} ) |