mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-31 09:32:03 +02:00
Add FindGloox.cmake and make use of it.
This commit is contained in:
@@ -4,11 +4,9 @@ ADD_DEFINITIONS( -g )
|
||||
ADD_DEFINITIONS( -fno-operator-names )
|
||||
ADD_DEFINITIONS( -fPIC )
|
||||
|
||||
SET( GLOOX_LIBS ${GLOOX_LIBS} resolv gloox )
|
||||
|
||||
SET( OS_SPECIFIC_LINK_LIBRARIES
|
||||
${LIBLASTFM_LIBRARY}
|
||||
${GLOOX_LIBS}
|
||||
${GLOOX_LIBRARIES}
|
||||
qxtweb-standalone
|
||||
)
|
||||
|
||||
|
@@ -13,7 +13,7 @@ SET( OS_SPECIFIC_LINK_LIBRARIES
|
||||
|
||||
# normal deps
|
||||
${LIBLASTFM_LIBRARY}
|
||||
${GLOOX_LIBS}
|
||||
${GLOOX_LIBRARIES}
|
||||
|
||||
# third party shipped with tomahawk
|
||||
${CMAKE_BINARY_DIR}/thirdparty/qtweetlib/libtomahawk_qtweetlib.dll
|
||||
|
@@ -24,11 +24,6 @@ qt4_wrap_cpp( jabberMoc ${jabberHeaders} )
|
||||
add_library( sip_jabber SHARED ${jabberSources} ${jabberMoc} )
|
||||
|
||||
IF( WIN32 )
|
||||
SET( GLOOX_LIBS
|
||||
${GLOOX_LIBS}
|
||||
gloox
|
||||
)
|
||||
|
||||
SET( OS_SPECIFIC_LINK_LIBRARIES
|
||||
${OS_SPECIFIC_LINK_LIBRARIES}
|
||||
"secur32.dll"
|
||||
@@ -39,7 +34,7 @@ ENDIF( WIN32 )
|
||||
|
||||
target_link_libraries( sip_jabber
|
||||
${QT_LIBRARIES}
|
||||
${GLOOX_LIBS}
|
||||
${GLOOX_LIBRARIES}
|
||||
${OS_SPECIFIC_LINK_LIBRARIES}
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user