diff options
author | Cristian Adam <cristian.adam@qt.io> | 2021-01-06 13:11:24 +0100 |
---|---|---|
committer | Cristian Adam <cristian.adam@qt.io> | 2021-01-06 13:37:20 +0000 |
commit | 09e2d6306eee1936b312c423ec93df13e5452be4 (patch) | |
tree | 0309d3f46c5cee0642ca813e0643be92e4e23270 /src/libs/qtcreatorcdbext | |
parent | 1a09f816a38cd4672172229971784d6bf9969846 (diff) |
CMake: Use copy_if_different for python dependency files
Using "copy" would always copy the files on build, which is
suboptimal.
Change-Id: I8c80732124a6642acae03220f3d43074cece4526
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/libs/qtcreatorcdbext')
-rw-r--r-- | src/libs/qtcreatorcdbext/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/qtcreatorcdbext/CMakeLists.txt b/src/libs/qtcreatorcdbext/CMakeLists.txt index 41769a2984..ddffac17e3 100644 --- a/src/libs/qtcreatorcdbext/CMakeLists.txt +++ b/src/libs/qtcreatorcdbext/CMakeLists.txt @@ -112,7 +112,7 @@ if (_library_enabled) add_custom_target(copy_python_dll ALL VERBATIM) add_custom_command(TARGET copy_python_dll POST_BUILD - COMMAND "${CMAKE_COMMAND}" -E copy ${deployPythonFiles} "${PROJECT_BINARY_DIR}/lib/qtcreatorcdbext${ArchSuffix}/" + COMMAND "${CMAKE_COMMAND}" -E copy_if_different ${deployPythonFiles} "${PROJECT_BINARY_DIR}/lib/qtcreatorcdbext${ArchSuffix}/" VERBATIM ) endif() |