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 3 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( ) endif( )
##### check for arts ##### check for arts support
if( WITH_ARTS ) if( WITH_ARTS )
pkg_search_module( ARTS arts ) if( NOT TARGET artskde-shared )
if( NOT ARTS_FOUND ) tde_message_fatal( "aRts support through tdelibs is requested but was not found on your system" )
tde_message_fatal( "aRts is requested but was not found on your system" ) endif()
endif( NOT ARTS_FOUND ) set( ARTSKDE_LIBRARIES artskde-shared )
set( WITHOUT_ARTS false ) else()
endif( WITH_ARTS )
if( NOT WITH_ARTS )
set( WITHOUT_ARTS 1 ) set( WITHOUT_ARTS 1 )
endif( NOT WITH_ARTS ) endif()
##### check for boost ##### check for boost

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

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

Loading…
Cancel
Save