mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-21 00:12:06 +02:00
Only build Google-SIP if we have found Jreen.
This commit is contained in:
parent
29619f5937
commit
61723d8dd2
@ -3,9 +3,9 @@ file(GLOB SUBDIRECTORIES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*")
|
||||
foreach(SUBDIRECTORY ${SUBDIRECTORIES})
|
||||
if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIRECTORY}" AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIRECTORY}/CMakeLists.txt")
|
||||
if(SUBDIRECTORY STREQUAL "twitter")
|
||||
elseif(SUBDIRECTORY STREQUAL "xmpp")
|
||||
elseif((SUBDIRECTORY STREQUAL "xmpp") OR (SUBDIRECTORY STREQUAL "google"))
|
||||
if( JREEN_FOUND )
|
||||
add_subdirectory( xmpp )
|
||||
add_subdirectory(${SUBDIRECTORY})
|
||||
endif()
|
||||
elseif(SUBDIRECTORY STREQUAL "hatchet")
|
||||
if(BUILD_HATCHET AND BUILD_GUI)
|
||||
|
Loading…
x
Reference in New Issue
Block a user