diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-02-28 21:33:14 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-02-28 21:33:14 (GMT) |
commit | e6b8706225c2b7f6dfd85855bd821ec4ab9ff765 (patch) | |
tree | 9dc7f9c71b6b9d834a5c0113d7abbaa9d569ab43 | |
parent | a8c8f1738b6b48c1ebcfab4647413b8c6957777a (diff) | |
download | CMake-e6b8706225c2b7f6dfd85855bd821ec4ab9ff765.zip CMake-e6b8706225c2b7f6dfd85855bd821ec4ab9ff765.tar.gz CMake-e6b8706225c2b7f6dfd85855bd821ec4ab9ff765.tar.bz2 |
BUG: Ok, fix the ordering
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 506e80d..dccc568 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1222,12 +1222,12 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets) cpackCommandLines.erase(cpackCommandLines.begin(), cpackCommandLines.end()); singleLine.erase(singleLine.begin(), singleLine.end()); depends.erase(depends.begin(), depends.end()); + singleLine.push_back(this->GetCMakeInstance()->GetCPackCommand()); if ( cmakeCfgIntDir && *cmakeCfgIntDir && cmakeCfgIntDir[1] != '.' ) { singleLine.push_back("-C"); singleLine.push_back(mf->GetDefinition("CMAKE_CFG_INTDIR")); } - singleLine.push_back(this->GetCMakeInstance()->GetCPackCommand()); singleLine.push_back("--config"); std::string configFile = mf->GetStartOutputDirectory();; configFile += "/CPackConfig.cmake"; |