CMake: Fix tst_qregexp test

It was missing the resource files.

Change-Id: Iaa97922eaedc8ba55ef4e568a6abfcffd19509fa
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
bb10
Alexandru Croitor 2020-06-04 12:43:24 +02:00
parent 542e7da817
commit f52a48d963
1 changed files with 15 additions and 1 deletions

View File

@ -4,7 +4,21 @@
## tst_qregexp Test:
#####################################################################
add_qt_test(tst_qregexp
qt_add_test(tst_qregexp
SOURCES
tst_qregexp.cpp
)
# Resources:
set(qregexp_resource_files
"data/qdatastream_4.9.bin"
"data/qdatastream_5.0.bin"
)
qt_add_resource(tst_qregexp "qregexp"
PREFIX
"/"
FILES
${qregexp_resource_files}
)