mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r29266] Header generation default should be OFF.
For Trunk - cacheinit.cmake should enable it ON
This commit is contained in:
parent
49e774296b
commit
6e7e6bb3aa
@ -6,6 +6,8 @@
|
||||
|
||||
set (CMAKE_INSTALL_FRAMEWORK_PREFIX "Library/Frameworks" CACHE STRING "Frameworks installation directory" FORCE)
|
||||
|
||||
set (HDF5_GENERATE_HEADERS ON CACHE BOOL "Rebuild Generated Files" FORCE)
|
||||
|
||||
set (HDF_PACKAGE_EXT "" CACHE STRING "Name of HDF package extension" FORCE)
|
||||
|
||||
set (HDF5_BUILD_FORTRAN ON CACHE BOOL "Build FORTRAN support" FORCE)
|
||||
|
@ -779,7 +779,7 @@ set (H5_GENERATED_HEADERS
|
||||
${HDF5_SRC_DIR}/H5overflow.h
|
||||
)
|
||||
|
||||
option (HDF5_GENERATE_HEADERS "Rebuild Generated Files" ON)
|
||||
option (HDF5_GENERATE_HEADERS "Rebuild Generated Files" OFF)
|
||||
mark_as_advanced (HDF5_GENERATE_HEADERS)
|
||||
if (HDF5_GENERATE_HEADERS)
|
||||
set_source_files_properties(${H5_GENERATED_HEADERS} PROPERTIES GENERATED TRUE)
|
||||
|
Loading…
Reference in New Issue
Block a user