diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-11-22 00:44:39 -0800 |
---|---|---|
committer | Jonathan Ringer <jonringer117@gmail.com> | 2019-11-22 01:35:22 -0800 |
commit | 3dfaf56da8f29c28175e133b86893d90237dd724 (patch) | |
tree | 1dd477303ad58bd62d508a11cc896fbbe49f1ec0 /pkgs/development/libraries/kde-frameworks | |
parent | 359e6446efcf47735f594c74d4b3f2571bc75316 (diff) |
kde-frameworks.extra-cmake-modules: allow for unset qtPluginPrefix
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, 2 insertions, 2 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 35982e866284..4135f6bfd7aa 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,12 +42,12 @@ ecmPostHook() { cmakeFlags+=" -DKDE_INSTALL_CONFDIR=${!outputBin}/etc/xdg" cmakeFlags+=" -DKDE_INSTALL_AUTOSTARTDIR=${!outputBin}/etc/xdg/autostart" - if [ -n "$qtPluginPrefix" ]; then + if [ -n "${qtPluginPrefix-}" ]; then cmakeFlags+=" -DKDE_INSTALL_QTPLUGINDIR=${!outputBin}/$qtPluginPrefix" cmakeFlags+=" -DKDE_INSTALL_PLUGINDIR=${!outputBin}/$qtPluginPrefix" fi - if [ -n "$qtQmlPrefix" ]; then + if [ -n "${qtQmlPrefix-}" ]; then cmakeFlags+=" -DKDE_INSTALL_QMLDIR=${!outputBin}/$qtQmlPrefix" fi } |