Skip to content

Commit

Permalink
Switched to copy_if_different flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-osman committed Jul 19, 2015
1 parent 9d213f8 commit 9bcb80b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ endforeach()
# executables which link against it - create a custom command to copy it
if(WIN32 AND NOT BUILD_STATIC)
add_custom_target(QHttpEngine-copy ALL
"${CMAKE_COMMAND}" -E copy "$<TARGET_FILE:QHttpEngine>" "${CMAKE_CURRENT_BINARY_DIR}"
"${CMAKE_COMMAND}" -E copy_if_different "$<TARGET_FILE:QHttpEngine>" "${CMAKE_CURRENT_BINARY_DIR}"
DEPENDS QHttpEngine
)
endif()

0 comments on commit 9bcb80b

Please sign in to comment.