diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-10-11 17:35:53 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-10-11 17:35:53 (GMT) |
commit | 46e7e5f8f2dd4711728728d43d04fdabe88547ee (patch) | |
tree | a6e23df470cdc32eaf192a07e5c626d95b6e49ff /src/CMakeLists.txt | |
parent | 4659e43a6b0914e3da6048328cece6e01be95e44 (diff) | |
download | hdf5-46e7e5f8f2dd4711728728d43d04fdabe88547ee.zip hdf5-46e7e5f8f2dd4711728728d43d04fdabe88547ee.tar.gz hdf5-46e7e5f8f2dd4711728728d43d04fdabe88547ee.tar.bz2 |
Add more descriptive option name
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5314697..f41e31b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -898,11 +898,11 @@ if (NOT EXISTS ${HDF5_GENERATED_SOURCE_DIR}/H5Tinit.c) PRIVATE $<$<PLATFORM_ID:Emscripten>:"-O0"> ) - option (HDF5_BATCH_DETECT "Use batch file to execute H5detect" OFF) - if (HDF5_BATCH_DETECT) + 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_DETECT_CMD} + COMMAND ${HDF5_BATCH_H5DETECT_CMD} ARGS ${HDF5_GENERATED_SOURCE_DIR}/H5Tinit.c DEPENDS H5detect WORKING_DIRECTORY ${HDF5_GENERATED_SOURCE_DIR} |