summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetIncludeDirectoriesCommand.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-12-14 14:30:00 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2019-12-14 14:30:28 (GMT)
commitc34b4497f8d595390d8e5a9d216de9ddc95a47eb (patch)
tree51662f8532e04391c56d3fcd245ec2069e93a1bd /Source/cmTargetIncludeDirectoriesCommand.cxx
parent2d53894c31c9d6849c67f4c218c0aefed1eb7921 (diff)
downloadCMake-c34b4497f8d595390d8e5a9d216de9ddc95a47eb.zip
CMake-c34b4497f8d595390d8e5a9d216de9ddc95a47eb.tar.gz
CMake-c34b4497f8d595390d8e5a9d216de9ddc95a47eb.tar.bz2
cmTarget: add std::string overloads
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 95b69f3..35635b9 100644
--- a/Source/cmTargetIncludeDirectoriesCommand.cxx
+++ b/Source/cmTargetIncludeDirectoriesCommand.cxx
@@ -88,8 +88,7 @@ void TargetIncludeDirectoriesImpl::HandleInterfaceContent(
system);
if (system) {
std::string joined = this->Join(content);
- tgt->AppendProperty("INTERFACE_SYSTEM_INCLUDE_DIRECTORIES",
- joined.c_str());
+ tgt->AppendProperty("INTERFACE_SYSTEM_INCLUDE_DIRECTORIES", joined);
}
}