
if(KDE4_BUILD_TESTS)

include_directories( ${CMAKE_SOURCE_DIR}/kopete/protocols/yahoo/libkyahoo  )

link_directories( ${CMAKE_CURRENT_BINARY_DIR}/../ )

########### next target ###############

set(clientstream_test_SRCS clientstream_test.cpp )

kde4_automoc(${clientstream_test_SRCS})

kde4_add_executable(clientstream_test RUN_UNINSTALLED ${clientstream_test_SRCS})

target_link_libraries(clientstream_test  ${KDE4_KDECORE_LIBS} kyahoo )

endif(KDE4_BUILD_TESTS)




#original Makefile.am contents follow:

#INCLUDES = -I$(top_srcdir)/kopete/protocols/yahoo/libkyahoo -I../ $(all_includes)
#METASOURCES = AUTO
#check_PROGRAMS = clientstream_test
#
#clientstream_test_SOURCES = clientstream_test.cpp
#clientstream_test_LDADD = $(LIB_QT) $(LIB_KDECORE) ../libkyahoo.la
#
##login_test_SOURCES = logintest.cpp
##login_test_LDADD = $(LIB_QT) $(LIB_KDECORE) ../libkyahoo.la
