2
0
mirror of https://github.com/boostorg/wave.git synced 2026-01-28 19:52:13 +00:00

Merge CMake fixes from the trunk

[SVN r52811]
This commit is contained in:
Douglas Gregor
2009-05-06 21:12:42 +00:00
parent 2556452eb7
commit 06bbbedff4
2 changed files with 41 additions and 2 deletions

View File

@@ -799,7 +799,7 @@ int error_count = 0;
// add include directories to the system include search paths
if (vm.count("sysinclude")) {
vector<std::string> syspaths = vm["sysinclude"].as<vector<string> >();
vector<std::string> syspaths = vm["sysinclude"].as<vector<std::string> >();
vector<std::string>::const_iterator end = syspaths.end();
for (vector<std::string>::const_iterator cit = syspaths.begin();
@@ -836,7 +836,7 @@ int error_count = 0;
// add additional defined macros
if (vm.count("define")) {
vector<std::string> const &macros = vm["define"].as<vector<string> >();
vector<std::string> const &macros = vm["define"].as<vector<std::string> >();
vector<std::string>::const_iterator end = macros.end();
for (vector<std::string>::const_iterator cit = macros.begin();
cit != end; ++cit)