diff options
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 19cc386..a509de8 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -122,11 +122,13 @@ void cmMakefile::AddDefaultCommands() #if defined(__APPLE__) this->AddDefinition("APPLE", "1"); #endif - // always creat an empty install target + // always creat an empty install targets for files and programs. cmTarget target; - target.SetType(cmTarget::INSTALL); target.SetInAll(false); - m_Targets.insert(cmTargets::value_type("INSTALL",target)); + target.SetType(cmTarget::INSTALL_FILES); + m_Targets.insert(cmTargets::value_type("INSTALL_FILES", target)); + target.SetType(cmTarget::INSTALL_PROGRAMS); + m_Targets.insert(cmTargets::value_type("INSTALL_PROGRAMS", target)); } cmMakefile::~cmMakefile() |