From bbf46e38b1d0f70b5c830b3ae2fccf66cf7edb8d Mon Sep 17 00:00:00 2001 From: Leander Beernaert Date: Mon, 24 Feb 2020 14:00:17 +0100 Subject: CMake: Fix tst_qclipboard for Win32 Teste executables were not built in the right location. Change-Id: Ice05d44d53f7d8c2e9ec5a7b5c011a24ceb02a09 Reviewed-by: Alexandru Croitor --- tests/auto/gui/kernel/qclipboard/copier/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/auto/gui/kernel/qclipboard/copier') diff --git a/tests/auto/gui/kernel/qclipboard/copier/CMakeLists.txt b/tests/auto/gui/kernel/qclipboard/copier/CMakeLists.txt index 30990c1387..4595093b3b 100644 --- a/tests/auto/gui/kernel/qclipboard/copier/CMakeLists.txt +++ b/tests/auto/gui/kernel/qclipboard/copier/CMakeLists.txt @@ -4,7 +4,15 @@ ## copier Binary: ##################################################################### +# special case begin +set(win32_args) +if (WIN32) + set(win32_args OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}") +endif() +# special case end + add_qt_executable(copier + ${win32_args} # special case SOURCES main.cpp PUBLIC_LIBRARIES -- cgit v1.2.3