diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-06-04 12:27:49 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-06-04 23:21:13 +0200 |
commit | 6f8ecc24977a3631641b4512742ae78305284489 (patch) | |
tree | d617b5ee46745911222deae24a660d68b4308a70 /tests/auto/gui/kernel/qclipboard/copier | |
parent | 4ada40c08d5b88ca474e9728093da6bee2a96ae4 (diff) |
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>
Diffstat (limited to 'tests/auto/gui/kernel/qclipboard/copier')
-rw-r--r-- | tests/auto/gui/kernel/qclipboard/copier/.prev_CMakeLists.txt | 2 | ||||
-rw-r--r-- | tests/auto/gui/kernel/qclipboard/copier/CMakeLists.txt | 9 |
2 files changed, 4 insertions, 7 deletions
diff --git a/tests/auto/gui/kernel/qclipboard/copier/.prev_CMakeLists.txt b/tests/auto/gui/kernel/qclipboard/copier/.prev_CMakeLists.txt index 30990c1387..744bd3d654 100644 --- a/tests/auto/gui/kernel/qclipboard/copier/.prev_CMakeLists.txt +++ b/tests/auto/gui/kernel/qclipboard/copier/.prev_CMakeLists.txt @@ -4,7 +4,7 @@ ## copier Binary: ##################################################################### -add_qt_executable(copier +qt_add_executable(copier SOURCES main.cpp PUBLIC_LIBRARIES diff --git a/tests/auto/gui/kernel/qclipboard/copier/CMakeLists.txt b/tests/auto/gui/kernel/qclipboard/copier/CMakeLists.txt index 4595093b3b..ee3c7b1ab9 100644 --- a/tests/auto/gui/kernel/qclipboard/copier/CMakeLists.txt +++ b/tests/auto/gui/kernel/qclipboard/copier/CMakeLists.txt @@ -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 |