mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 00:54:20 +02:00
Use uppercase GLOOX_FOUND
This commit is contained in:
@@ -29,7 +29,7 @@ FIND_PACKAGE( QJSON REQUIRED )
|
||||
INCLUDE( MacroOptionalFindPackage )
|
||||
INCLUDE( MacroLogFeature )
|
||||
macro_optional_find_package(Gloox 1.0)
|
||||
macro_log_feature(Gloox_FOUND "Gloox" "A portable high-level Jabber/XMPP library for C++" "http://camaya.net/gloox" FALSE "" "Gloox is needed for the Jabber SIP plugin and the XMPP-Bot")
|
||||
macro_log_feature(GLOOX_FOUND "Gloox" "A portable high-level Jabber/XMPP library for C++" "http://camaya.net/gloox" FALSE "" "Gloox is needed for the Jabber SIP plugin and the XMPP-Bot")
|
||||
|
||||
macro_display_feature_log()
|
||||
|
||||
|
@@ -143,9 +143,9 @@ IF( UNIX )
|
||||
ENDIF( UNIX )
|
||||
|
||||
|
||||
IF(Gloox_FOUND)
|
||||
IF(GLOOX_FOUND)
|
||||
ADD_SUBDIRECTORY( xmppbot )
|
||||
ENDIF(Gloox_FOUND)
|
||||
ENDIF(GLOOX_FOUND)
|
||||
ADD_SUBDIRECTORY( sip )
|
||||
|
||||
kde4_add_app_icon( tomahawkSources "${CMAKE_SOURCE_DIR}/data/icons/tomahawk-icon-*.png" )
|
||||
|
@@ -1,7 +1,7 @@
|
||||
|
||||
IF(Gloox_FOUND)
|
||||
IF(GLOOX_FOUND)
|
||||
ADD_SUBDIRECTORY( jabber )
|
||||
ENDIF(Gloox_FOUND)
|
||||
ENDIF(GLOOX_FOUND)
|
||||
|
||||
ADD_SUBDIRECTORY( twitter )
|
||||
ADD_SUBDIRECTORY( zeroconf )
|
||||
|
@@ -37,7 +37,7 @@
|
||||
#endif
|
||||
|
||||
// should go to a plugin actually
|
||||
#ifdef Gloox_FOUND
|
||||
#ifdef GLOOX_FOUND
|
||||
#include "xmppbot/xmppbot.h"
|
||||
#endif
|
||||
|
||||
@@ -479,7 +479,7 @@ TomahawkApp::setupSIP()
|
||||
{
|
||||
qDebug() << Q_FUNC_INFO;
|
||||
|
||||
#ifdef Gloox_FOUND
|
||||
#ifdef GLOOX_FOUND
|
||||
//FIXME: jabber autoconnect is really more, now that there is sip -- should be renamed and/or split out of jabber-specific settings
|
||||
if( !arguments().contains( "--nosip" ) && TomahawkSettings::instance()->jabberAutoConnect() )
|
||||
{
|
||||
|
Reference in New Issue
Block a user