diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-04-22 23:08:37 +0300 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-04-22 23:08:37 +0300 |
commit | c3c75f129cff1e6733b00fc164317476975279aa (patch) | |
tree | e322abeaaca7c59ca030c26ef5dbeb669f662d7f /pkgs/development/libraries/kde-frameworks | |
parent | 04bdd4bbaf249ff5467f5e36bc647cc90432908b (diff) |
plasma5Packages.extra-cmake-modules: set bundledir on darwin
Diffstat (limited to 'pkgs/development/libraries/kde-frameworks')
-rw-r--r-- | pkgs/development/libraries/kde-frameworks/extra-cmake-modules/setup-hook.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/kde-frameworks/extra-cmake-modules/setup-hook.sh b/pkgs/development/libraries/kde-frameworks/extra-cmake-modules/setup-hook.sh index ac077b73d6a6d..8d86ab1d54ade 100644 --- a/pkgs/development/libraries/kde-frameworks/extra-cmake-modules/setup-hook.sh +++ b/pkgs/development/libraries/kde-frameworks/extra-cmake-modules/setup-hook.sh @@ -42,6 +42,10 @@ ecmPostHook() { cmakeFlags+=" -DKDE_INSTALL_CONFDIR=${!outputBin}/etc/xdg" cmakeFlags+=" -DKDE_INSTALL_AUTOSTARTDIR=${!outputBin}/etc/xdg/autostart" + if [ "$(uname)" = "Darwin" ]; then + cmakeFlags+=" -DKDE_INSTALL_BUNDLEDIR=${!outputBin}/Applications/KDE" + fi + if [ -n "${qtPluginPrefix-}" ]; then cmakeFlags+=" -DKDE_INSTALL_QTPLUGINDIR=${!outputBin}/$qtPluginPrefix" cmakeFlags+=" -DKDE_INSTALL_PLUGINDIR=${!outputBin}/$qtPluginPrefix" |