qt5base-lts/tests/manual/cocoa/qsystemtrayicon/CMakeLists.txt
Friedemann Kleint 97bfacf1e2 tests: Remove remains of qmake conversion from CMakeLists.txt files
Pick-to: 6.5
Change-Id: I8d106554bb86ac1ec9bb7a4083de4c376bcbab1d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2023-02-17 21:56:49 +01:00

36 lines
757 B
CMake

# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
## qsystemtrayicon Binary:
#####################################################################
qt_internal_add_manual_test(qsystemtrayicon
GUI
SOURCES
main.cpp
INCLUDE_DIRECTORIES
.
LIBRARIES
Qt::Gui
Qt::Widgets
)
# Resources:
set(icons_resource_files
"macsystray16x16.png"
"macsystray18x18.png"
"macsystray25x15.png"
"macsystray32x32.png"
"macsystray36x36.png"
"macsystray50x30.png"
"macsystray64x64.png"
)
qt_internal_add_resource(qsystemtrayicon "icons"
PREFIX
"/"
FILES
${icons_resource_files}
)