CMake: Fix tst_qclipboard test on macOS

The helper processes were not in the correct location.

Change-Id: I0a80a22a931625ea0c9370db38ff29c881b964cb
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Alexandru Croitor 2020-06-04 12:27:49 +02:00
parent 4ada40c08d
commit 6f8ecc2497
4 changed files with 8 additions and 14 deletions

View File

@ -4,7 +4,7 @@
## copier Binary:
#####################################################################
add_qt_executable(copier
qt_add_executable(copier
SOURCES
main.cpp
PUBLIC_LIBRARIES

View File

@ -5,14 +5,11 @@
#####################################################################
# special case begin
set(win32_args)
if (WIN32)
set(win32_args OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
endif()
set(args OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
# special case end
add_qt_executable(copier
${win32_args} # special case
qt_add_executable(copier
${args} # special case
SOURCES
main.cpp
PUBLIC_LIBRARIES

View File

@ -4,7 +4,7 @@
## paster Binary:
#####################################################################
add_qt_executable(paster
qt_add_executable(paster
SOURCES
main.cpp
PUBLIC_LIBRARIES

View File

@ -5,14 +5,11 @@
#####################################################################
# special case begin
set(win32_args)
if (WIN32)
set(win32_args OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
endif()
set(args OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
# special case end
add_qt_executable(paster
${win32_args} # special case
qt_add_executable(paster
${args} # special case
SOURCES
main.cpp
PUBLIC_LIBRARIES