summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetIncludeDirectoriesCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-08 21:35:01 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-07-22 18:25:47 (GMT)
commitc7b39d06f9b1b5843682f52992634c8dad22aece (patch)
treed5ef225eb45637c58ad88be0a14697ceae227a35 /Source/cmTargetIncludeDirectoriesCommand.cxx
parentb2de25adeda1c37c8d626432df25fce7cd2ab032 (diff)
downloadCMake-c7b39d06f9b1b5843682f52992634c8dad22aece.zip
CMake-c7b39d06f9b1b5843682f52992634c8dad22aece.tar.gz
CMake-c7b39d06f9b1b5843682f52992634c8dad22aece.tar.bz2
cmMakefile: Split accessors for include directories and origins.
Diffstat (limited to 'Source/cmTargetIncludeDirectoriesCommand.cxx')
-rw-r--r--Source/cmTargetIncludeDirectoriesCommand.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmTargetIncludeDirectoriesCommand.cxx b/Source/cmTargetIncludeDirectoriesCommand.cxx
index 24500db..7824c89 100644
--- a/Source/cmTargetIncludeDirectoriesCommand.cxx
+++ b/Source/cmTargetIncludeDirectoriesCommand.cxx
@@ -72,8 +72,7 @@ bool cmTargetIncludeDirectoriesCommand
bool prepend, bool system)
{
cmListFileBacktrace lfbt = this->Makefile->GetBacktrace();
- cmValueWithOrigin entry(this->Join(content), lfbt);
- tgt->InsertInclude(entry, prepend);
+ tgt->InsertInclude(this->Join(content), lfbt, prepend);
if (system)
{
tgt->AddSystemIncludeDirectories(content);