From 13807ff0211bef2fa0b2e8e2badc277b1fa03e8a Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 27 Oct 2021 14:42:46 +0200 Subject: [PATCH] CMake: Drop use of FilePath::mapToDevicePath() That's implicit in .onDevice() since c82e3cf6a8, doing it twice is not good. Change-Id: I8c1d5d31d155d3a7c4af8bd874fbba5ab3e8cf72 Reviewed-by: Cristian Adam --- src/plugins/cmakeprojectmanager/cmakeproject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));