summaryrefslogtreecommitdiff
path: root/Source/cmConfigureFileCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-10-26 15:42:02 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2001-10-26 15:42:02 -0400
commit1c5c899fd7b9e0f5214f0e30b5dc64fa2508a27c (patch)
tree18146e750e78da7a94d3783248ac3cd61c1f240a /Source/cmConfigureFileCommand.cxx
parentf586f7df8d9ab5a432107e053452864598c6c0a7 (diff)
downloadcmake-1c5c899fd7b9e0f5214f0e30b5dc64fa2508a27c.tar.gz
add dependency for configure files and use short path in WIN32 cmake test
Diffstat (limited to 'Source/cmConfigureFileCommand.cxx')
-rw-r--r--Source/cmConfigureFileCommand.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmConfigureFileCommand.cxx b/Source/cmConfigureFileCommand.cxx
index 9f482d3951..c30a63b601 100644
--- a/Source/cmConfigureFileCommand.cxx
+++ b/Source/cmConfigureFileCommand.cxx
@@ -90,6 +90,7 @@ void cmConfigureFileCommand::FinalPass()
void cmConfigureFileCommand::ConfigureFile()
{
m_Makefile->ExpandVariablesInString(m_InputFile);
+ m_Makefile->AddCMakeDependFile(m_InputFile.c_str());
m_Makefile->ExpandVariablesInString(m_OuputFile);
cmSystemTools::ConvertToUnixSlashes(m_OuputFile);
std::string::size_type pos = m_OuputFile.rfind('/');