summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2015-09-28 20:43:25 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2015-09-28 20:43:25 (GMT)
commit179d122d59cda7b13a5ece59747075a00df81ed0 (patch)
tree1d03b81e97f1e3d8d573e284669284c873c1c20d /config
parent431c69474c31f7e535f0e9ed3256563e945f5c19 (diff)
downloadhdf5-179d122d59cda7b13a5ece59747075a00df81ed0.zip
hdf5-179d122d59cda7b13a5ece59747075a00df81ed0.tar.gz
hdf5-179d122d59cda7b13a5ece59747075a00df81ed0.tar.bz2
[svn-r27904] Correct missing target name chars
Diffstat (limited to 'config')
-rw-r--r--config/cmake/HDF5_Process_Flex_Files.cmake10
1 files changed, 6 insertions, 4 deletions
diff --git a/config/cmake/HDF5_Process_Flex_Files.cmake b/config/cmake/HDF5_Process_Flex_Files.cmake
index 5947fb8..6ada04c 100644
--- a/config/cmake/HDF5_Process_Flex_Files.cmake
+++ b/config/cmake/HDF5_Process_Flex_Files.cmake
@@ -47,8 +47,9 @@ if (FILE_PARSE)
")
file (APPEND ${FILE_PARSE} "${TEST_STREAM}")
message (STATUS "processing pragma in ${FILE_PARSE}")
- EXECUTE_PROCESS (
- COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_BINARY_DIR}/${FILE_PARSE}.timestamp
+ execute_process (
+ COMMAND ${CMAKE_COMMAND} -E touch ${FILE_PARSE}.timestamp
+ DEPENDS "${FILE_PARSE}"
)
endif (FILE_PARSE)
@@ -82,7 +83,8 @@ if (FILE_ANALYZE)
")
file (APPEND ${FILE_ANALYZE} "${TEST_STREAM}")
message (STATUS "processing pragma in ${FILE_ANALYZE}")
- EXECUTE_PROCESS (
- COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_BINARY_DIR}/${FILE_ANALYZE}.timestamp
+ execute_process (
+ COMMAND ${CMAKE_COMMAND} -E touch ${FILE_ANALYZE}.timestamp
+ DEPENDS "${FILE_ANALYZE}"
)
endif (FILE_ANALYZE)