diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2013-03-02 17:29:27 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2013-03-02 17:29:27 -0600 |
commit | dcc1ddf6f97b4c005095d4016039d5c4d8d71c78 (patch) | |
tree | deb32af10ec575c37d27fbfc2ed615264d701dd4 /CMakeLists.txt | |
parent | 7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f (diff) | |
download | tdelibs-dcc1ddf6f97b4c005095d4016039d5c4d8d71c78.tar.gz tdelibs-dcc1ddf6f97b4c005095d4016039d5c4d8d71c78.zip |
Fix FTBFS when -DWITH_NETWORK_MANAGER_BACKEND=OFF.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ac1ecf1a2..fd195cf60 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -783,23 +783,23 @@ if( NOT DEFINED DBUS_SERVICE_DIRECTORY ) endif( NOT DEFINED DBUS_SERVICE_DIRECTORY ) -if( WITH_NETWORK_MANAGER_BACKEND ) - ##### check for 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( ) +##### check for 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( ) - ##### check for 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( ) +##### check for 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( ) +if( WITH_NETWORK_MANAGER_BACKEND ) ##### check for libnm-util ########################### pkg_search_module( NM_UTIL libnm-util ) if( NOT NM_UTIL_FOUND ) |