diff --git a/src/plugins/panhelper/CMakeLists.txt b/src/plugins/panhelper/CMakeLists.txt index 28f40b3371..5095de2e67 100644 --- a/src/plugins/panhelper/CMakeLists.txt +++ b/src/plugins/panhelper/CMakeLists.txt @@ -1 +1 @@ -add_subdirectory( package ) +kwin_add_scripted_effect(panhelper package) diff --git a/src/plugins/panhelper/package/CMakeLists.txt b/src/plugins/panhelper/package/CMakeLists.txt deleted file mode 100644 index c26956ddd0..0000000000 --- a/src/plugins/panhelper/package/CMakeLists.txt +++ /dev/null @@ -1,6 +0,0 @@ -install(DIRECTORY contents DESTINATION ${DATA_INSTALL_DIR}/${KWIN_NAME}/effects/kwin4_effect_panhelper) -install(FILES metadata.desktop DESTINATION ${DATA_INSTALL_DIR}/${KWIN_NAME}/effects/kwin4_effect_panhelper) - -install(FILES metadata.desktop - DESTINATION ${SERVICES_INSTALL_DIR}/${KWIN_NAME} - RENAME kwin4_effect_panhelperps.desktop)