summaryrefslogtreecommitdiffstats
path: root/Source/cmUtilitySourceCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-08-11 20:58:09 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-08-11 20:58:09 (GMT)
commitb41d447935c518c5d3352284afd8b24732985417 (patch)
tree9bef9c2493dc6b330a7edccfec40d19c8e09e556 /Source/cmUtilitySourceCommand.cxx
parentbb32a51825648f5fe44c12df8a3becd5aa88061e (diff)
downloadCMake-b41d447935c518c5d3352284afd8b24732985417.zip
CMake-b41d447935c518c5d3352284afd8b24732985417.tar.gz
CMake-b41d447935c518c5d3352284afd8b24732985417.tar.bz2
ENH: use GetRequiredDefinition instead of GetDefinition and crash
Diffstat (limited to 'Source/cmUtilitySourceCommand.cxx')
-rw-r--r--Source/cmUtilitySourceCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmUtilitySourceCommand.cxx b/Source/cmUtilitySourceCommand.cxx
index 9b542dc..3f5d13d 100644
--- a/Source/cmUtilitySourceCommand.cxx
+++ b/Source/cmUtilitySourceCommand.cxx
@@ -63,7 +63,7 @@ bool cmUtilitySourceCommand::InitialPass(std::vector<std::string> const& args)
}
// The source exists.
- std::string cmakeCFGout = m_Makefile->GetDefinition("CMAKE_CFG_INTDIR");
+ std::string cmakeCFGout = m_Makefile->GetRequiredDefinition("CMAKE_CFG_INTDIR");
std::string utilityDirectory = m_Makefile->GetCurrentOutputDirectory();
std::string exePath;
if (m_Makefile->GetDefinition("EXECUTABLE_OUTPUT_PATH"))