diff options
author | Shane Parris <shane.lee.parris@gmail.com> | 2018-01-26 18:42:44 (GMT) |
---|---|---|
committer | Shane Parris <shane.lee.parris@gmail.com> | 2018-02-15 15:54:38 (GMT) |
commit | e78e24f68cba269117ad5a321e1ec8503a5f1d29 (patch) | |
tree | 7a2206e8e485f0a10561ba7c16e251132811dd9c /Tests/RunCMake/VS10Project | |
parent | 602988e1e568048dd30e9e2213bc788f7c7ff708 (diff) | |
download | CMake-e78e24f68cba269117ad5a321e1ec8503a5f1d29.zip CMake-e78e24f68cba269117ad5a321e1ec8503a5f1d29.tar.gz CMake-e78e24f68cba269117ad5a321e1ec8503a5f1d29.tar.bz2 |
Replaces execute_process calls to touch files with file(TOUCH) calls
Diffstat (limited to 'Tests/RunCMake/VS10Project')
-rw-r--r-- | Tests/RunCMake/VS10Project/VsCSharpCustomTags.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Tests/RunCMake/VS10Project/VsCSharpCustomTags.cmake b/Tests/RunCMake/VS10Project/VsCSharpCustomTags.cmake index 45766a0..96be54b 100644 --- a/Tests/RunCMake/VS10Project/VsCSharpCustomTags.cmake +++ b/Tests/RunCMake/VS10Project/VsCSharpCustomTags.cmake @@ -16,8 +16,7 @@ set(fileNames) foreach(e ${fileExtensions}) set(currentFile "${CMAKE_CURRENT_BINARY_DIR}/foo.${e}") list(APPEND fileNames ${currentFile}) - execute_process(COMMAND ${CMAKE_COMMAND} -E touch - "${currentFile}") + file(TOUCH "${currentFile}") string(TOUPPER ${e} eUC) set_source_files_properties("${currentFile}" PROPERTIES |