mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
Move options to root cmake file
This commit is contained in:
parent
7e00924d1b
commit
494d39f1c2
@ -913,4 +913,10 @@ endif ()
|
||||
#-----------------------------------------------------------------------------
|
||||
configure_file (${HDF_RESOURCES_DIR}/H5pubconf.h.in ${HDF5_BINARY_DIR}/H5pubconf.h @ONLY)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Options for use by cross compiling and toolchains
|
||||
#-----------------------------------------------------------------------------
|
||||
option (HDF5_USE_PREGEN "Use pre-generated Files" OFF)
|
||||
option (HDF5_BATCH_H5DETECT "Use a batch command for running h5detect" OFF)
|
||||
|
||||
include (CMakeInstallation.cmake)
|
||||
|
@ -877,7 +877,6 @@ endif ()
|
||||
# Setup the H5detect utility which generates H5Tinit with platform
|
||||
# specific type checks inside
|
||||
#-----------------------------------------------------------------------------
|
||||
option (HDF5_USE_PREGEN "Use pre-generated Files" OFF)
|
||||
if (HDF5_USE_PREGEN)
|
||||
set (HDF5_GENERATED_SOURCE_DIR ${HDF5_USE_PREGEN_DIR})
|
||||
else ()
|
||||
|
Loading…
Reference in New Issue
Block a user