diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2015-09-28 21:31:00 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2015-09-28 21:31:00 (GMT) |
commit | 7b7649aa8172bfff4e49ee97211d834261d50230 (patch) | |
tree | 932312ca3033c50ae05e96302c910443fcc3422e /hl | |
parent | 179d122d59cda7b13a5ece59747075a00df81ed0 (diff) | |
download | hdf5-7b7649aa8172bfff4e49ee97211d834261d50230.zip hdf5-7b7649aa8172bfff4e49ee97211d834261d50230.tar.gz hdf5-7b7649aa8172bfff4e49ee97211d834261d50230.tar.bz2 |
[svn-r27905] Add depends to be sure file exists
Diffstat (limited to 'hl')
-rw-r--r-- | hl/src/CMakeLists.txt | 2 |
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) |