[svn-r29266] Header generation default should be OFF.

For Trunk - cacheinit.cmake should enable it ON
This commit is contained in:
Allen Byrne 2016-03-04 10:22:29 -05:00
parent 49e774296b
commit 6e7e6bb3aa
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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)