summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2018-02-26 16:24:45 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2018-02-26 16:24:45 (GMT)
commit8182ebca32a42c157697d6afdc07678afed1443d (patch)
treecb2037f156e21579082511e8d470731009485028 /Source/cmVisualStudio10TargetGenerator.cxx
parentf7430b2538211ea59d5a853148de3b282796bf6a (diff)
downloadCMake-8182ebca32a42c157697d6afdc07678afed1443d.zip
CMake-8182ebca32a42c157697d6afdc07678afed1443d.tar.gz
CMake-8182ebca32a42c157697d6afdc07678afed1443d.tar.bz2
cmIDEOptions: use std::string
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index c7b60b9..ed4a201 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -2138,7 +2138,7 @@ bool cmVisualStudio10TargetGenerator::OutputSourceSpecificFlags(
clOptions.AddDefines(
genexInterpreter.Evaluate(configDefines, "COMPILE_DEFINITIONS"));
} else {
- clOptions.AddDefines(configDefines.c_str());
+ clOptions.AddDefines(configDefines);
}
std::vector<std::string> includeList;
if (configDependentIncludes) {