CMake: Fix tst_qclipboard for Win32

Teste executables were not built in the right location.

Change-Id: Ice05d44d53f7d8c2e9ec5a7b5c011a24ceb02a09
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Leander Beernaert 2020-02-24 14:00:17 +01:00
parent aa9c6f9832
commit bbf46e38b1
2 changed files with 16 additions and 0 deletions

View File

@ -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

View File

@ -4,7 +4,15 @@
## paster 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(paster
${win32_args} # special case
SOURCES
main.cpp
PUBLIC_LIBRARIES