summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-03-04 15:22:29 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-03-04 15:22:29 (GMT)
commit6e7e6bb3aa3b0106d44d7b50e79d1c6281940257 (patch)
tree46f2599ed170de63d19802f6ef433fa5f1b4e7bd
parent49e774296b7af09c31741b3db6f51381c1a4b867 (diff)
downloadhdf5-6e7e6bb3aa3b0106d44d7b50e79d1c6281940257.zip
hdf5-6e7e6bb3aa3b0106d44d7b50e79d1c6281940257.tar.gz
hdf5-6e7e6bb3aa3b0106d44d7b50e79d1c6281940257.tar.bz2
[svn-r29266] Header generation default should be OFF.
For Trunk - cacheinit.cmake should enable it ON
-rw-r--r--config/cmake/cacheinit.cmake2
-rw-r--r--src/CMakeLists.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/config/cmake/cacheinit.cmake b/config/cmake/cacheinit.cmake
index 5cae21b..8e88aea 100644
--- a/config/cmake/cacheinit.cmake
+++ b/config/cmake/cacheinit.cmake
@@ -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)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7413e28..f013148 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -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)