From 2c48893ec7b75ecf9c9b785b7096ab48bdf909b4 Mon Sep 17 00:00:00 2001 From: Nathan Osman Date: Sat, 8 Jul 2017 13:02:28 -0700 Subject: [PATCH] Fix target name when building on Windows. --- tests/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 20e5168..1d5133f 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -35,8 +35,8 @@ endforeach() # 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 if(WIN32 AND NOT BUILD_STATIC) - add_custom_target(QHttpEngine-copy ALL - "${CMAKE_COMMAND}" -E copy_if_different \"$\" \"${CMAKE_CURRENT_BINARY_DIR}\" - DEPENDS QHttpEngine + add_custom_target(qhttpengine-copy ALL + "${CMAKE_COMMAND}" -E copy_if_different \"$\" \"${CMAKE_CURRENT_BINARY_DIR}\" + DEPENDS qhttpengine ) endif()