mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #73903 from jonringer/fix-qtplugin-options
kde-frameworks.extra-cmake-modules: allow for unset qtPluginPrefix
This commit is contained in:
commit
46acc245c0
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue