summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-09-17 17:59:58 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-09-17 17:59:58 (GMT)
commit2a68d21e8550b64641769b11691d74ae9bb37217 (patch)
tree311f400a6633897fdeab49470985d19dbd78dfe6 /Source/MFCDialog
parente68e917d9fbfa88426d3fc69f9eab4f36e9c585d (diff)
downloadCMake-2a68d21e8550b64641769b11691d74ae9bb37217.zip
CMake-2a68d21e8550b64641769b11691d74ae9bb37217.tar.gz
CMake-2a68d21e8550b64641769b11691d74ae9bb37217.tar.bz2
cleaned up some of the cmake interface
Diffstat (limited to 'Source/MFCDialog')
-rw-r--r--Source/MFCDialog/CMakeSetupDialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp
index 4dec7f3..dd1bcc8 100644
--- a/Source/MFCDialog/CMakeSetupDialog.cpp
+++ b/Source/MFCDialog/CMakeSetupDialog.cpp
@@ -580,7 +580,9 @@ void CMakeSetupDialog::RunCMake(bool generateProjectFiles)
m_CMakeInstance->SetStartOutputDirectory(m_WhereBuild);
m_CMakeInstance->SetGlobalGenerator(
m_CMakeInstance->CreateGlobalGenerator(m_GeneratorChoiceString));
- if(m_CMakeInstance->Configure(m_PathToExecutable) != 0)
+ m_CMakeInstance->SetCMakeCommand(m_PathToExecutable);
+ m_CMakeInstance->LoadCache();
+ if(m_CMakeInstance->Configure() != 0)
{
cmSystemTools::Error(
"Error in configuration process, project files may be invalid");