diff --git a/tools/plasmapkg/CMakeLists.txt b/tools/plasmapkg/CMakeLists.txt index 48d1189b5..67a53b3cd 100644 --- a/tools/plasmapkg/CMakeLists.txt +++ b/tools/plasmapkg/CMakeLists.txt @@ -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}) -