From 4605bf57dd50a221c2228c90656fd43a0ec68c56 Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Mon, 14 Aug 2023 16:39:02 +0200 Subject: [PATCH] CMakeProjectManager: Deselect "Stage for installation" for BareMetal There is no CMake install target for BareMetal. Therefore, the "Stage for installation" option needs to be deseleceted, like it is being done for other devices. Amends: 2387e9e37aeb5b4acf6b2b1bdb1f8f047e23c1d4 Fixes: QTCREATORBUG-29293 Change-Id: Ic0e61ab19318f6383f55e6330b7559a734706a0e Reviewed-by: hjk --- src/plugins/cmakeprojectmanager/cmakebuildstep.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp b/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp index 33e2b682325..f52db4b6912 100644 --- a/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp +++ b/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp @@ -14,6 +14,8 @@ #include +#include + #include #include @@ -189,6 +191,7 @@ static bool supportsStageForInstallation(const Kit *kit) && runDevice->type() != Android::Constants::ANDROID_DEVICE_TYPE && runDevice->type() != Ios::Constants::IOS_DEVICE_TYPE && runDevice->type() != Ios::Constants::IOS_SIMULATOR_TYPE + && runDevice->type() != BareMetal::Constants::BareMetalOsType && runDevice->type() != WebAssembly::Constants::WEBASSEMBLY_DEVICE_TYPE; }