summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetCompileOptionsCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-08 21:17:16 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-07-22 18:25:46 (GMT)
commitb2de25adeda1c37c8d626432df25fce7cd2ab032 (patch)
tree87f4f94fe56347da9c5d5c6e72a3a74b3d5c97a1 /Source/cmTargetCompileOptionsCommand.cxx
parentd6239507b2f08bd1fee53c84af3998a14fa9819b (diff)
downloadCMake-b2de25adeda1c37c8d626432df25fce7cd2ab032.zip
CMake-b2de25adeda1c37c8d626432df25fce7cd2ab032.tar.gz
CMake-b2de25adeda1c37c8d626432df25fce7cd2ab032.tar.bz2
cmMakefile: Split accessors for compile options and origins.
Diffstat (limited to 'Source/cmTargetCompileOptionsCommand.cxx')
-rw-r--r--Source/cmTargetCompileOptionsCommand.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmTargetCompileOptionsCommand.cxx b/Source/cmTargetCompileOptionsCommand.cxx
index a85153d..8e86f0f 100644
--- a/Source/cmTargetCompileOptionsCommand.cxx
+++ b/Source/cmTargetCompileOptionsCommand.cxx
@@ -50,7 +50,6 @@ bool cmTargetCompileOptionsCommand
bool, bool)
{
cmListFileBacktrace lfbt = this->Makefile->GetBacktrace();
- cmValueWithOrigin entry(this->Join(content), lfbt);
- tgt->InsertCompileOption(entry);
+ tgt->InsertCompileOption(this->Join(content), lfbt);
return true;
}