summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-03-30 16:55:19 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-03-30 16:55:19 (GMT)
commit3cf3fc510febc42af0db07c71c7c3925724b3201 (patch)
treee6872ad9d7d949ef6c067dd2159075f5c9dbb6cf /Source/cmFileCommand.cxx
parent7b3be313ee9997879bc1496bb3801021039d4d5b (diff)
downloadCMake-3cf3fc510febc42af0db07c71c7c3925724b3201.zip
CMake-3cf3fc510febc42af0db07c71c7c3925724b3201.tar.gz
CMake-3cf3fc510febc42af0db07c71c7c3925724b3201.tar.bz2
ENH: make sure framework search order is correct
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r--Source/cmFileCommand.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 0262bb5..588111b 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -943,12 +943,20 @@ bool cmFileCommand::HandleSystemPathCommand(std::vector<std::string>
const& args)
{
std::vector<std::string>::const_iterator i = args.begin();
+ for(std::vector<std::string>::const_iterator j = args.begin();
+ j != args.end(); ++j)
+ {
+ std::cerr << "[" << *j << "]\n";
+ }
+ return true;
if(args.size() != 3)
{
this->SetError("FILE(SYSTEM_PATH ENV result) must be called with "
"only three arguments.");
return false;
}
+
+
i++; // Get rid of subcommand
std::vector<std::string> path;
cmSystemTools::GetPath(path, i->c_str());