Make plasmapkg build and link

This commit is contained in:
Sebastian Kügler 2013-02-13 01:39:55 +01:00
parent 58f990077e
commit c30254c0cc

View File

@ -1,13 +1,13 @@
set(plasmapkg_SRCS
project("plasmapkg")
add_executable(plasmapkg
main.cpp
plasmapkg.cpp
)
include_directories(${KDE4_INCLUDE_DIR}/KDE)
kde4_add_executable(plasmapkg ${plasmapkg_SRCS})
target_link_libraries(plasmapkg ${KDE4_KDECORE_LIBS} plasma)
target_link_libraries(plasmapkg ${KDE4_KDEUI_LIBS} ${KDE4_PLASMA_LIBS})
message("INSTALL_TARGETS_DEFAULT_ARGS ${INSTALL_TARGETS_DEFAULT_ARGS}")
install(TARGETS plasmapkg ${INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES data/knewstuff/plasmoids.knsrc DESTINATION ${CONFIG_INSTALL_DIR})