1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-04 06:45:45 +02:00

tests: Link with libjamiclient.

Partially fixes
<https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/882>.

* tests/CMakeLists.txt: Link test objects with ${LIBCLIENT_NAME}.

Change-Id: I6808202f046902c5c05c089c0c2fe3d97492a754
This commit is contained in:
Maxim Cournoyer 2022-11-06 22:44:15 -05:00
parent 98a9eebc89
commit dfb4d47ad6

View file

@ -15,7 +15,7 @@ else()
endif() endif()
enable_testing(true) enable_testing(true)
set(QML_TEST_LIBS ${QT_LIBS} Qt::QuickTest Qt::Test Qt::Widgets) set(QML_TEST_LIBS ${QT_LIBS} ${LIBCLIENT_NAME} Qt::QuickTest Qt::Test Qt::Widgets)
set(TESTS_INCLUDES set(TESTS_INCLUDES
${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/src
${CMAKE_SOURCE_DIR}/tests/qml ${CMAKE_SOURCE_DIR}/tests/qml