Skip to content

Commit

Permalink
Don't deploy Qt if no Qt tools are built.
Browse files Browse the repository at this point in the history
Trying to deploy Qt when no Qt tools have been built causes the install
process to fail with a cryptic error. This error has persisted for quite
some time, likely due to being silently masked by older Qt tools being
present in build directories.
  • Loading branch information
Hoikas committed Dec 14, 2023
1 parent 6a9d80c commit 1a35d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/QtDeployment.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function(plasma_deploy_qt)
endforeach()

# Deploy only once on install
if(PLASMA_INSTALL_QT)
if(PLASMA_INSTALL_QT AND _INSTALL_DEPLOY)
string(JOIN [[" "]] _DEPLOY_ARG ${_INSTALL_DEPLOY})
install(
CODE
Expand Down

0 comments on commit 1a35d6e

Please sign in to comment.