qt5base-lts/tests/auto/other/qaccessibilitymac/CMakeLists.txt
Tor Arne Vestbø 16b9f9a9aa Merge Objective-C++ parts of tst_QAccessibilityMac into main source file
There's no need to split it, we can use the -x compiler flag to build
the .cpp file as Objective-C++, or, as done here, just rename the file.

This allows us to use QVERIFY and friends, giving more precise failure reporting.

Pick-to: 6.4
Change-Id: I6fb1c4454335082c8a39010c5b75c59e6ec6561b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
2022-11-04 16:51:37 +01:00

18 lines
333 B
CMake

# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
if(NOT APPLE)
return()
endif()
qt_internal_add_test(tst_qaccessibilitymac
SOURCES
tst_qaccessibilitymac.mm
LIBRARIES
Qt::Gui
Qt::Widgets
${FWAppKit}
${FWApplicationServices}
${FWSecurity}
)