Summary: | kcoreaddons_add_plugin cannot be used with KDEInstallDirs without deprecation warning | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kcoreaddons | Reporter: | Dominik Schmidt <kde> |
Component: | general | Assignee: | Michael Pyne <mpyne> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kdelibs-bugs |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kcoreaddons/1285c4bf5552405a3932eb631029de39ec91031d | Version Fixed In: | 5.54 |
Sentry Crash Report: |
Description
Dominik Schmidt
2018-12-08 09:17:05 UTC
This might be as simple as just replacing PLUGIN_INSTALL_DIR with KDE_INSTALL_PLUGINDIR. That change made here locally and then tested by building kactivitymanagerd seems to work correctly. I'll add it as a Phabricator review to make sure I'm not missing anything. Git commit 1285c4bf5552405a3932eb631029de39ec91031d by Michael Pyne. Committed on 09/12/2018 at 16:27. Pushed by mpyne into branch 'master'. cmake macros: Port away from deprecated ECM var in kcoreaddons_add_plugin The current kcoreaddons_add_plugin CMake macro causes deprecation warnings in extra-cmake-module's KDEInstallDirs since we use an old-style install path variable (PLUGIN_INSTALL_DIR). The fix is simply to use KDE_INSTALL_PLUGINDIR instead. FIXED-IN:5.54 Differential Revision: https://phabricator.kde.org/D17446 M +2 -2 KF5CoreAddonsMacros.cmake https://commits.kde.org/kcoreaddons/1285c4bf5552405a3932eb631029de39ec91031d |