diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2018-01-23 23:30:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-01-31 16:04:35 (GMT) |
commit | f9235fd474682ba95231de0bc7285a39e35db83f (patch) | |
tree | 9ad5e98f1064e7735398c15ab8f03f96f17533d3 /Source | |
parent | c0e7a137025789c41349ae0935609e7bd083587a (diff) | |
download | CMake-f9235fd474682ba95231de0bc7285a39e35db83f.zip CMake-f9235fd474682ba95231de0bc7285a39e35db83f.tar.gz CMake-f9235fd474682ba95231de0bc7285a39e35db83f.tar.bz2 |
cmAddCustomCommandCommand: use std::string const& for FileIsFullPath
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmAddCustomCommandCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 |