summaryrefslogtreecommitdiffstats
path: root/Source/cmCableCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-03-02 17:27:41 (GMT)
committerBrad King <brad.king@kitware.com>2001-03-02 17:27:41 (GMT)
commitb6d1cda20e7d9b8d412a7281acb9157cff9cd362 (patch)
treeb28834bb088eb7d5090581fa5cbe173161e6da7c /Source/cmCableCommand.cxx
parentdc72655414eb8a611524b6480dad92d46b08fecb (diff)
downloadCMake-b6d1cda20e7d9b8d412a7281acb9157cff9cd362.zip
CMake-b6d1cda20e7d9b8d412a7281acb9157cff9cd362.tar.gz
CMake-b6d1cda20e7d9b8d412a7281acb9157cff9cd362.tar.bz2
ENH: CABLE config file (config_cable.xml) should now be opened in the output directory.
Diffstat (limited to 'Source/cmCableCommand.cxx')
-rw-r--r--Source/cmCableCommand.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmCableCommand.cxx b/Source/cmCableCommand.cxx
index 260be4e..df6b6e3 100644
--- a/Source/cmCableCommand.cxx
+++ b/Source/cmCableCommand.cxx
@@ -68,5 +68,7 @@ void cmCableCommand::SetupCableData()
// We didn't find another cmCableCommand with a valid cmCableData.
// We must allocate the new cmCableData ourselves, and with this
// command as its owner.
- m_CableData = new cmCableData(this);
+ std::string pathName = m_Makefile->GetStartOutputDirectory();
+ pathName += "/cable_config.xml";
+ m_CableData = new cmCableData(this, pathName);
}