diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-03-07 16:03:57 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-03-07 16:03:57 (GMT) |
commit | bfb3598c4b4ec2fc41eb6e26ea0dbeb9c55f9176 (patch) | |
tree | cc73222df613e47f7c828bb75b56253db6b7b563 /Source/cmSeparateArgumentsCommand.cxx | |
parent | 4148fedbf099b3af9fd6d2d4ad8c5de91cd0a956 (diff) | |
download | CMake-bfb3598c4b4ec2fc41eb6e26ea0dbeb9c55f9176.zip CMake-bfb3598c4b4ec2fc41eb6e26ea0dbeb9c55f9176.tar.gz CMake-bfb3598c4b4ec2fc41eb6e26ea0dbeb9c55f9176.tar.bz2 |
BUG: improve bad argument handling for INCLUDE_DIRECTORIES and ADD_DEFINITIONS bug 4364
Diffstat (limited to 'Source/cmSeparateArgumentsCommand.cxx')
-rw-r--r-- | Source/cmSeparateArgumentsCommand.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmSeparateArgumentsCommand.cxx b/Source/cmSeparateArgumentsCommand.cxx index 44ad5be..5f3d88d 100644 --- a/Source/cmSeparateArgumentsCommand.cxx +++ b/Source/cmSeparateArgumentsCommand.cxx @@ -31,8 +31,7 @@ bool cmSeparateArgumentsCommand return true; } std::string value = cacheValue; - cmSystemTools::ReplaceString(value, - " ", ";"); + cmSystemTools::ReplaceString(value," ", ";"); this->Makefile->AddDefinition(args[0].c_str(), value.c_str()); return true; } |