diff options
Diffstat (limited to 'Source/cmInstallProgramsCommand.cxx')
-rw-r--r-- | Source/cmInstallProgramsCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallProgramsCommand.cxx b/Source/cmInstallProgramsCommand.cxx index 00dffd2..e1645c7 100644 --- a/Source/cmInstallProgramsCommand.cxx +++ b/Source/cmInstallProgramsCommand.cxx @@ -29,7 +29,7 @@ bool cmInstallProgramsCommand::InitialPass(std::vector<std::string> const& args) m_TargetName = "INSTALL_PROGRAMS_"+args[0]; cmTarget& target = m_Makefile->GetTargets()[m_TargetName]; target.SetInAll(false); - target.SetType(cmTarget::INSTALL_PROGRAMS); + target.SetType(cmTarget::INSTALL_PROGRAMS, m_TargetName.c_str()); target.SetInstallPath(args[0].c_str()); std::vector<std::string>::const_iterator s = args.begin(); |