blob: 45509b2f48e736a0eee4e8fccb4e300253160ea5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#################################################
#
# (C) 2010 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
# hal
pkg_search_module( HAL hal )
if( NOT HAL_FOUND )
tde_message_fatal( "hal are required, but not found on your system" )
endif( )
# dbus-1
pkg_search_module( DBUS dbus-1 )
if( NOT DBUS_FOUND )
tde_message_fatal( "dbus-1 are required, but not found on your system" )
endif( )
# dbus-1-tqt
pkg_search_module( DBUS_TQT dbus-1-tqt )
if( DBUS_TQT_FOUND )
find_program( DBUSXML2QT3_EXECUTABLE NAMES dbusxml2qt3 )
else()
tde_message_fatal( "dbus-1-tqt are required, but not found on your system" )
endif( )
# libnm-util
pkg_search_module( NM_UTIL libnm-util )
if( NOT NM_UTIL_FOUND )
tde_message_fatal( "libnm-util are required, but not found on your system" )
endif( )
# required stuff
find_package( TQt )
find_package( TDE )
|