Skip to content

Commit

Permalink
Merge pull request #73903 from jonringer/fix-qtplugin-options
Browse files Browse the repository at this point in the history
kde-frameworks.extra-cmake-modules: allow for unset qtPluginPrefix
  • Loading branch information
Ericson2314 committed Nov 23, 2019
2 parents 9d3911f + 3dfaf56 commit 46acc24
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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
}
Expand Down

0 comments on commit 46acc24

Please sign in to comment.