fix FTBFS when aRts support is not available from tdelibs.

Signed-off-by: gregory guy <gregory-tde@laposte.net>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/15/head
gregory guy 2 years ago committed by Slávek Banko
parent bd2c79033d
commit a6b2fc4fd2
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -35,19 +35,16 @@ if( BUILD_DOC AND BUILD_KIG )
endif( )
##### check for arts
##### check for arts support
if( WITH_ARTS )
pkg_search_module( ARTS arts )
if( NOT ARTS_FOUND )
tde_message_fatal( "aRts is requested but was not found on your system" )
endif( NOT ARTS_FOUND )
set( WITHOUT_ARTS false )
endif( WITH_ARTS )
if( NOT WITH_ARTS )
if( NOT TARGET artskde-shared )
tde_message_fatal( "aRts support through tdelibs is requested but was not found on your system" )
endif()
set( ARTSKDE_LIBRARIES artskde-shared )
else()
set( WITHOUT_ARTS 1 )
endif( NOT WITH_ARTS )
endif()
##### check for boost

@ -32,7 +32,7 @@ tde_add_executable( blinken AUTOMOC
tdecore-shared
tdeui-shared
tdeio-shared
artskde-shared
${ARTSKDE_LIBRARIES}
DESTINATION ${BIN_INSTALL_DIR}
)

@ -44,7 +44,7 @@ tde_add_executable( kanagram AUTOMOC
tdeui-shared
tdeio-shared
tdenewstuff-shared
artskde-shared
${ARTSKDE_LIBRARIES}
DESTINATION ${BIN_INSTALL_DIR}
)

Loading…
Cancel
Save