mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
Add more descriptive option name
This commit is contained in:
parent
4659e43a6b
commit
46e7e5f8f2
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user