Commit 7b362bdb authored by Ken Martin's avatar Ken Martin
Browse files

fixed cable package issue

parent e40aaa57
......@@ -15,6 +15,7 @@
=========================================================================*/
#include "cmCablePackageCommand.h"
#include "cmCacheManager.h"
#include "cmTarget.h"
cmCablePackageCommand::~cmCablePackageCommand()
......@@ -115,6 +116,9 @@ bool cmCablePackageCommand::Invoke(std::vector<std::string>& args)
depends,
outputs, m_TargetName.c_str());
// add the source list to the target
m_Makefile->GetTargets()[m_TargetName.c_str()].m_SourceLists.push_back(m_PackageName);
return true;
}
......
......@@ -275,7 +275,7 @@ public:
/**
* Get the list of targets
*/
const cmTargets &GetTargets() { return m_Targets; }
cmTargets &GetTargets() { return m_Targets; }
/**
* Get a list of the build subdirectories.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment