Fix target name when building on Windows.
This commit is contained in:
@@ -35,8 +35,8 @@ endforeach()
|
|||||||
# On Windows, the library's DLL must exist in the same directory as the test
|
# On Windows, the library's DLL must exist in the same directory as the test
|
||||||
# executables which link against it - create a custom command to copy it
|
# executables which link against it - create a custom command to copy it
|
||||||
if(WIN32 AND NOT BUILD_STATIC)
|
if(WIN32 AND NOT BUILD_STATIC)
|
||||||
add_custom_target(QHttpEngine-copy ALL
|
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
|
DEPENDS qhttpengine
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user