diff options
Diffstat (limited to 'Source/cmFileInstaller.cxx')
-rw-r--r-- | Source/cmFileInstaller.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFileInstaller.cxx b/Source/cmFileInstaller.cxx index f3544c1..d4f76fd 100644 --- a/Source/cmFileInstaller.cxx +++ b/Source/cmFileInstaller.cxx @@ -319,7 +319,7 @@ bool cmFileInstaller::HandleInstallDestination() return false; } } - destination = sdestdir + (destination.c_str() + skip); + destination = sdestdir + destination.substr(skip); this->DestDirLength = int(sdestdir.size()); } |