summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-05-03 23:28:27 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-05-04 23:47:46 +0900
commit298a2ec675b2bf81eb308e7cca18dc22daa71c87 (patch)
tree13591c5b876ce9985d4e36ba88a9990bd0973090 /ConfigureChecks.cmake
parent225d7c5ae08093755f31e9dd038e19537d493c5c (diff)
downloadk3b-298a2ec675b2bf81eb308e7cca18dc22daa71c87.tar.gz
k3b-298a2ec675b2bf81eb308e7cca18dc22daa71c87.zip
Fixed FTBFS when building without tdehw lib but with HAL enabled.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 804f6a4d46fa519558a321c4f86c72fd11610759)
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 03eeb89..b3f7522 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -106,6 +106,16 @@ if( WITH_HAL )
pkg_search_module( HAL hal )
if( HAL_FOUND )
set ( HAVE_HAL 1 )
+ # search for dbus
+ pkg_search_module( DBUS dbus-1 )
+ if( NOT DBUS_FOUND )
+ tde_message_fatal( "dbus-1 is required, but was not found on your system" )
+ endif( )
+ # search for dbus-tqt
+ pkg_search_module( DBUS_TQT dbus-tqt )
+ if( NOT DBUS_TQT_FOUND )
+ tde_message_fatal( "dbus-tqt is required, but was not found on your system" )
+ endif()
else ( )
tde_message_fatal( "hal is required, but was not found on your system" )
endif( )