summaryrefslogtreecommitdiffstats
path: root/hl/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2015-09-28 21:31:00 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2015-09-28 21:31:00 (GMT)
commit7b7649aa8172bfff4e49ee97211d834261d50230 (patch)
tree932312ca3033c50ae05e96302c910443fcc3422e /hl/src
parent179d122d59cda7b13a5ece59747075a00df81ed0 (diff)
downloadhdf5-7b7649aa8172bfff4e49ee97211d834261d50230.zip
hdf5-7b7649aa8172bfff4e49ee97211d834261d50230.tar.gz
hdf5-7b7649aa8172bfff4e49ee97211d834261d50230.tar.bz2
[svn-r27905] Add depends to be sure file exists
Diffstat (limited to 'hl/src')
-rw-r--r--hl/src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/hl/src/CMakeLists.txt b/hl/src/CMakeLists.txt
index a1922ba..8ae5173 100644
--- a/hl/src/CMakeLists.txt
+++ b/hl/src/CMakeLists.txt
@@ -32,6 +32,7 @@ if (HDF5_GENERATE_HEADERS)
COMMAND "${CMAKE_COMMAND}"
-D "FILE_PARSE=H5LTparse.c"
-P "${HDF_RESOURCES_DIR}/HDF5_Process_Flex_Files.cmake"
+ DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/H5LTparse.c ${CMAKE_CURRENT_BINARY_DIR}/H5LTparse.h"
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
add_custom_command (
@@ -39,6 +40,7 @@ if (HDF5_GENERATE_HEADERS)
COMMAND "${CMAKE_COMMAND}"
-D "FILE_ANALYZE=H5LTanalyze.c"
-P "${HDF_RESOURCES_DIR}/HDF5_Process_Flex_Files.cmake"
+ DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/H5LTanalyze.c"
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
add_custom_target (process_gen_H5LT DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/H5LTparse.c.timestamp ${CMAKE_CURRENT_BINARY_DIR}/H5LTanalyze.c.timestamp)