diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-05-30 19:28:55 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-05-30 19:28:55 (GMT) |
commit | 4179c991f4bf3aefc1d96617e5f4e03646dcf56e (patch) | |
tree | 17edf2e2e3c400d6c01ca76d53c8f42c75be9f08 /Source/cmMSProjectGenerator.cxx | |
parent | dbf65f216fd08ce12df51bae17d0382473ce1d7b (diff) | |
download | CMake-4179c991f4bf3aefc1d96617e5f4e03646dcf56e.zip CMake-4179c991f4bf3aefc1d96617e5f4e03646dcf56e.tar.gz CMake-4179c991f4bf3aefc1d96617e5f4e03646dcf56e.tar.bz2 |
ENH: change MFC gui to use cmake class
Diffstat (limited to 'Source/cmMSProjectGenerator.cxx')
-rw-r--r-- | Source/cmMSProjectGenerator.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmMSProjectGenerator.cxx b/Source/cmMSProjectGenerator.cxx index ee71f8d..12e2733 100644 --- a/Source/cmMSProjectGenerator.cxx +++ b/Source/cmMSProjectGenerator.cxx @@ -78,6 +78,12 @@ void cmMSProjectGenerator::SetLocal(bool local) void cmMSProjectGenerator::ComputeSystemInfo() { // now load the settings + if(!cmCacheManager::GetInstance()->GetCacheValue("CMAKE_ROOT")) + { + cmSystemTools::Error( + "CMAKE_ROOT has not been defined, bad GUI or driver program"); + return; + } std::string fpath = cmCacheManager::GetInstance()->GetCacheValue("CMAKE_ROOT"); fpath += "/Templates/CMakeWindowsSystemConfig.cmake"; |