diff options
Diffstat (limited to 'Source/cmCablePackageCommand.cxx')
-rw-r--r-- | Source/cmCablePackageCommand.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmCablePackageCommand.cxx b/Source/cmCablePackageCommand.cxx index af835a5..3b19f15 100644 --- a/Source/cmCablePackageCommand.cxx +++ b/Source/cmCablePackageCommand.cxx @@ -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; } |