CMake: Fix tst_quuid to pass on macOS

The helper executable needs to be a bundle, because that's
what the test expects.

Change-Id: I7c3f72f12b7a744478b4832685d032abfc679e5b
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
bb10
Alexandru Croitor 2020-06-04 12:17:20 +02:00
parent 0cbd307d6a
commit 4ada40c08d
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,12 @@
# Generated from testProcessUniqueness.pro.
#####################################################################
## testProcessUniqueness Binary:
#####################################################################
qt_add_executable(testProcessUniqueness
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_quuid/testProcessUniqueness"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
)

View File

@ -4,9 +4,13 @@
## testProcessUniqueness Binary:
#####################################################################
add_qt_executable(testProcessUniqueness
qt_add_executable(testProcessUniqueness
INSTALL_DIRECTORY "${INSTALL_TESTSDIR}/tst_quuid/testProcessUniqueness"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
)
# special case begin
set_target_properties(testProcessUniqueness PROPERTIES MACOSX_BUNDLE TRUE)
# special case end