File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -250,6 +250,7 @@ else()
250250" )
251251 add_custom_command (
252252 OUTPUT "${CMAKE_CURRENT_BINARY_DIR} /HeaderDependencies.cpp"
253+ DEPENDS "${CMAKE_CURRENT_BINARY_DIR} /HeaderDependencies.cpp.tmp"
253254 COMMAND ${CMAKE_COMMAND} -E copy_if_different
254255 "${CMAKE_CURRENT_BINARY_DIR} /HeaderDependencies.cpp.tmp"
255256 "${CMAKE_CURRENT_BINARY_DIR} /HeaderDependencies.cpp"
Original file line number Diff line number Diff line change @@ -978,7 +978,8 @@ function(_compile_swift_files
978978 add_custom_command_target(unused_var
979979 COMMAND ${CMAKE_COMMAND} -E copy_if_different "${file_path} .tmp" "${file_path} "
980980 CUSTOM_TARGET_NAME ${file_path_target}
981- OUTPUT "${file_path} " )
981+ OUTPUT "${file_path} "
982+ DEPENDS "${file_path} .tmp" )
982983 endif ()
983984
984985 # If this platform/architecture combo supports backward deployment to old
You can’t perform that action at this time.
0 commit comments