diff --git a/src/plugins/cmakeprojectmanager/cmakeproject.cpp b/src/plugins/cmakeprojectmanager/cmakeproject.cpp index f201ab523be..aa78dd534e7 100644 --- a/src/plugins/cmakeprojectmanager/cmakeproject.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeproject.cpp @@ -144,7 +144,7 @@ MakeInstallCommand CMakeProject::makeInstallCommand(const Target *target, if (bc) buildDirectory = bc->buildDirectory(); - cmd.arguments << "--build" << buildDirectory.onDevice(cmd.command).mapToDevicePath() + cmd.arguments << "--build" << buildDirectory.onDevice(cmd.command).path() << "--target" << installTarget << config; cmd.environment.set("DESTDIR", QDir::toNativeSeparators(installRoot));