e7118bd7fd
Fixes: QTBUG-78228 Change-Id: I3d4666a553e94de47e01d64551b8fe672994b137 Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
37 lines
697 B
CMake
37 lines
697 B
CMake
# Generated from qfont.pro.
|
|
|
|
#####################################################################
|
|
## tst_qfont Test:
|
|
#####################################################################
|
|
|
|
add_qt_test(tst_qfont
|
|
SOURCES
|
|
tst_qfont.cpp
|
|
LIBRARIES
|
|
Qt::CorePrivate
|
|
Qt::GuiPrivate
|
|
PUBLIC_LIBRARIES
|
|
Qt::Gui
|
|
)
|
|
|
|
# Resources:
|
|
set(testfont_resource_files
|
|
"weirdfont.otf"
|
|
)
|
|
|
|
add_qt_resource(tst_qfont "testfont"
|
|
PREFIX
|
|
"/"
|
|
FILES
|
|
${testfont_resource_files}
|
|
)
|
|
|
|
|
|
## Scopes:
|
|
#####################################################################
|
|
|
|
extend_target(tst_qfont CONDITION TARGET Qt::Widgets
|
|
PUBLIC_LIBRARIES
|
|
Qt::Widgets
|
|
)
|