SET(libkbfxcommonsrc
	kbfxkiodownload.cpp
        kbfxpixmaplabel.cpp
	kbfxconfig.cpp
	kbfxpushbutton.cpp
	kbfxthemesdata.cpp
	kbfxfontchooser.cpp
	)

include_directories (${CMAKE_CURRENT_BINARY_DIR})

FILE(GLOB HEADERS *.h)

	
	KDE4_ADD_LIBRARY(kbfxcommon SHARED ${libkbfxcommonsrc})
	TARGET_LINK_LIBRARIES(kbfxcommon
	    ${KDE4_KDECORE_LIBS}
	    ${KDE4_KDEUI_LIBS}
	    ${KDE4_KDEUI_LIBS}
	    ${KDE4_KHTML_LIBS}
	    ${M_LIBRARY}
	    )

	KDE4_INSTALL_LIBTOOL_FILE(kbfxcommon ${LIB_INSTALL_DIR})

INSTALL(TARGETS kbfxcommon DESTINATION ${LIB_INSTALL_DIR})
INSTALL(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/common)
