From f9235fd474682ba95231de0bc7285a39e35db83f Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 23 Jan 2018 18:30:26 -0500 Subject: cmAddCustomCommandCommand: use std::string const& for FileIsFullPath --- Source/cmAddCustomCommandCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmAddCustomCommandCommand.cxx b/Source/cmAddCustomCommandCommand.cxx index 3186583..6db50fa 100644 --- a/Source/cmAddCustomCommandCommand.cxx +++ b/Source/cmAddCustomCommandCommand.cxx @@ -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 -- cgit v0.12