Escape arguments for copy_if_different.
This commit is contained in:
@@ -37,7 +37,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_if_different "$<TARGET_FILE:QHttpEngine>" "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
"${CMAKE_COMMAND}" -E copy_if_different \"$<TARGET_FILE:QHttpEngine>\" \"${CMAKE_CURRENT_BINARY_DIR}\"
|
||||
DEPENDS QHttpEngine
|
||||
)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user