summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2015-09-28 17:30:48 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2015-09-28 17:30:48 (GMT)
commitccd6248532a7b1030fcfa571607a7cd16228b354 (patch)
tree54e64dbe4ce93bc3d95e7dc7920e393c4392eef0 /src
parent68962cb2fa9ce37dde2138524506938022dc1bb8 (diff)
downloadhdf5-ccd6248532a7b1030fcfa571607a7cd16228b354.zip
hdf5-ccd6248532a7b1030fcfa571607a7cd16228b354.tar.gz
hdf5-ccd6248532a7b1030fcfa571607a7cd16228b354.tar.bz2
[svn-r27895] Rework the generated file dependencies and commands.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 17dc633..f9b4a74 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -819,11 +819,6 @@ if (HDF5_GENERATE_HEADERS)
endif (PERL_FOUND)
endif (HDF5_GENERATE_HEADERS)
-set (H5_PUBLIC_GENERATED_HEADERS
- ${HDF5_SRC_DIR}/H5version.h
- ${HDF5_SRC_DIR}/H5overflow.h
-)
-
#-----------------------------------------------------------------------------
# Setup the H5Detect utility which generates H5Tinit with platform
# specific type checks inside
@@ -836,7 +831,7 @@ endif (MSVC OR MINGW)
if (HDF5_GENERATE_HEADERS)
add_dependencies(H5detect generate_precompiled)
else (HDF5_GENERATE_HEADERS)
- add_dependencies(H5detect "${H5_PUBLIC_GENERATED_HEADERS}")
+ add_dependencies(H5detect "${H5_GENERATED_HEADERS}")
endif (HDF5_GENERATE_HEADERS)
set (CMD $<TARGET_FILE:H5detect>)
@@ -855,7 +850,7 @@ endif (MSVC OR MINGW)
if (HDF5_GENERATE_HEADERS)
add_dependencies(H5detect generate_precompiled)
else (HDF5_GENERATE_HEADERS)
- add_dependencies(H5make_libsettings "${H5_PUBLIC_GENERATED_HEADERS}")
+ add_dependencies(H5make_libsettings "${H5_GENERATED_HEADERS}")
endif (HDF5_GENERATE_HEADERS)
set (CMD $<TARGET_FILE:H5make_libsettings>)