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
parent
0cbd307d6a
commit
4ada40c08d
|
|
@ -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
|
||||
)
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue