Skip to content

Commit

Permalink
Merge pull request nextcloud#981 from yan12125/fix-kde-cmake-warnings
Browse files Browse the repository at this point in the history
Fix KDEInstallDirs deprecation warnings
  • Loading branch information
rullzer authored Jan 7, 2019
2 parents 6dfe160 + 1361c30 commit dc993d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions shell_integration/dolphin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ set_package_properties(DolphinVcs PROPERTIES
PURPOSE "Provides plugin interfaces for Dolphin."
)

set(KDE_INSTALL_DIRS_NO_DEPRECATED TRUE)
include(KDEInstallDirs)
# Before KF5 5.54, kcoreaddons_add_plugin uses deprecated VAR PLUGIN_INSTALL_DIR
# when that is fixed and you want to remove this workaround,
# you need to _require_ the new enough kcoreaddons
set(PLUGIN_INSTALL_DIR "${KDE_INSTALL_PLUGINDIR}")
include(KDECMakeSettings)
include(KDECompilerSettings)
include(ECMMarkNonGuiExecutable)
Expand Down

0 comments on commit dc993d3

Please sign in to comment.