diff --git a/cmake/modules/yaml.cmake b/cmake/modules/yaml.cmake index 76451068757..17afcd0ef0b 100644 --- a/cmake/modules/yaml.cmake +++ b/cmake/modules/yaml.cmake @@ -534,6 +534,7 @@ function(yaml_save) to_yaml("${json_content}" 0 yaml_out TEMP_GENEX) FILE(GENERATE OUTPUT ${expanded_file} CONTENT "${yaml_out}") + FILE(TOUCH ${expanded_file}) # ensure timestamp is updated even if nothing changed endif() endfunction()