From 1a35d6ed6e29856ca66e21be874f41c1e8c1a998 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Wed, 13 Dec 2023 20:34:44 -0500 Subject: [PATCH] Don't deploy Qt if no Qt tools are built. 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. --- cmake/QtDeployment.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/QtDeployment.cmake b/cmake/QtDeployment.cmake index 80aead0b1f..375120dc05 100644 --- a/cmake/QtDeployment.cmake +++ b/cmake/QtDeployment.cmake @@ -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