OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5614d48
)
build QDBusMetaType test only of DBus is found and enabled
author
Ivailo Monev
<xakepa10@laimg.moc>
Sun, 15 Dec 2019 02:26:50 +0000
(
02:26
+0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Sun, 15 Dec 2019 02:26:50 +0000
(
02:26
+0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
tests/auto/qdbusmetatype/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/tests/auto/qdbusmetatype/CMakeLists.txt
b/tests/auto/qdbusmetatype/CMakeLists.txt
index
0159377
..
d2db31e
100644
(file)
--- a/
tests/auto/qdbusmetatype/CMakeLists.txt
+++ b/
tests/auto/qdbusmetatype/CMakeLists.txt
@@
-1,5
+1,7
@@
-katie_test(tst_qdbusmetatype
- ${CMAKE_CURRENT_SOURCE_DIR}/tst_qdbusmetatype.cpp
-)
+if(WITH_DBUS AND DBUS_FOUND)
+ katie_test(tst_qdbusmetatype
+ ${CMAKE_CURRENT_SOURCE_DIR}/tst_qdbusmetatype.cpp
+ )
-target_link_libraries(tst_qdbusmetatype KtDBus)
+ target_link_libraries(tst_qdbusmetatype KtDBus)
+endif()