You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.1 KiB
50 lines
1.1 KiB
#################################################
|
|
#
|
|
# (C) 2010 Serghei Amelian
|
|
# serghei (DOT) amelian (AT) gmail.com
|
|
#
|
|
# Improvements and feedback are welcome
|
|
#
|
|
# This file is released under GPL >= 2
|
|
#
|
|
#################################################
|
|
|
|
# little/big endian?
|
|
include(TestBigEndian)
|
|
test_big_endian(WORDS_BIGENDIAN)
|
|
|
|
|
|
# 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 )
|