mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-07-04 23:55:27 +02:00
tests: Add missing QtWidgets dependency.
Fixes <https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/882>. * tests/CMakeLists.txt: Add "Widgets" Qt module to find_package call. (QML_TEST_LIBS): Add Qt::Widgets. Change-Id: I695010776e6d2638fb65009c79f3263269e1020e
This commit is contained in:
parent
c04b123291
commit
dae9249098
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
find_package(Qt${QT_VERSION_MAJOR} CONFIG REQUIRED QuickTest Test)
|
||||
find_package(Qt${QT_VERSION_MAJOR} CONFIG REQUIRED QuickTest Widgets Test)
|
||||
|
||||
if(MSVC)
|
||||
# Download and unpack googletest for windows
|
||||
|
@ -15,7 +15,7 @@ else()
|
|||
endif()
|
||||
|
||||
enable_testing(true)
|
||||
set(QML_TEST_LIBS ${QML_LIBS} Qt::QuickTest Qt::Test)
|
||||
set(QML_TEST_LIBS ${QML_LIBS} Qt::QuickTest Qt::Widgets Qt::Test)
|
||||
set(TESTS_INCLUDES
|
||||
${CMAKE_SOURCE_DIR}/src
|
||||
${CMAKE_SOURCE_DIR}/tests/qml
|
||||
|
|
Loading…
Add table
Reference in a new issue