summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-03-02 17:29:27 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2013-03-02 17:29:27 -0600
commitdcc1ddf6f97b4c005095d4016039d5c4d8d71c78 (patch)
treedeb32af10ec575c37d27fbfc2ed615264d701dd4 /CMakeLists.txt
parent7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f (diff)
downloadtdelibs-dcc1ddf6f97b4c005095d4016039d5c4d8d71c78.tar.gz
tdelibs-dcc1ddf6f97b4c005095d4016039d5c4d8d71c78.zip
Fix FTBFS when -DWITH_NETWORK_MANAGER_BACKEND=OFF.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt26
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 )