cmAddCustomCommandCommand: use std::string const& for FileIsFullPath

This commit is contained in:
Ben Boeckel 2018-01-23 18:30:26 -05:00 committed by Brad King
parent c0e7a13702
commit f9235fd474

View File

@ -177,7 +177,7 @@ bool cmAddCustomCommandCommand::InitialPass(
case doing_output:
case doing_outputs:
case doing_byproducts:
if (!cmSystemTools::FileIsFullPath(copy.c_str())) {
if (!cmSystemTools::FileIsFullPath(copy)) {
// This is an output to be generated, so it should be
// under the build tree. CMake 2.4 placed this under the
// source tree. However the only case that this change