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()
250
250
" )
251
251
add_custom_command (
252
252
OUTPUT "${CMAKE_CURRENT_BINARY_DIR} /HeaderDependencies.cpp"
253
+ DEPENDS "${CMAKE_CURRENT_BINARY_DIR} /HeaderDependencies.cpp.tmp"
253
254
COMMAND ${CMAKE_COMMAND} -E copy_if_different
254
255
"${CMAKE_CURRENT_BINARY_DIR} /HeaderDependencies.cpp.tmp"
255
256
"${CMAKE_CURRENT_BINARY_DIR} /HeaderDependencies.cpp"
Original file line number Diff line number Diff line change @@ -978,7 +978,8 @@ function(_compile_swift_files
978
978
add_custom_command_target (unused_var
979
979
COMMAND ${CMAKE_COMMAND} -E copy_if_different "${file_path} .tmp" "${file_path} "
980
980
CUSTOM_TARGET_NAME ${file_path_target}
981
- OUTPUT "${file_path} " )
981
+ OUTPUT "${file_path} "
982
+ DEPENDS "${file_path} .tmp" )
982
983
endif ()
983
984
984
985
# If this platform/architecture combo supports backward deployment to old
You can’t perform that action at this time.
0 commit comments