CMake: Build dbus tools when building dbus tests
This adds the build dependencies tst_qdbuscpp2xml -> qdbuscpp2xml tst_qdbusxml2cpp -> qdbusxml2cpp Fixes: QTBUG-126115 Change-Id: I8a52568023743924fac67ce88ea446189b0328c0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Marc Mutz <marc.mutz@qt.io> (cherry picked from commit 0f71a00357234b3cbd30b3d010ae8b10c5a25fec) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
9eb670d8d7
commit
3e320e45bf
@ -33,3 +33,4 @@ qt_internal_add_resource(tst_qdbuscpp2xml "qdbuscpp2xml"
|
|||||||
${qdbuscpp2xml_resource_files}
|
${qdbuscpp2xml_resource_files}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_dependencies(tst_qdbuscpp2xml ${QT_CMAKE_EXPORT_NAMESPACE}::qdbuscpp2xml)
|
||||||
|
@ -15,3 +15,5 @@ qt_internal_add_test(tst_qdbusxml2cpp
|
|||||||
SOURCES
|
SOURCES
|
||||||
tst_qdbusxml2cpp.cpp
|
tst_qdbusxml2cpp.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_dependencies(tst_qdbusxml2cpp ${QT_CMAKE_EXPORT_NAMESPACE}::qdbusxml2cpp)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user