summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetsCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-10-01 19:18:21 (GMT)
committerBrad King <brad.king@kitware.com>2012-10-01 19:18:21 (GMT)
commita61f633737067da7d765c5e479a7d6754d4a083a (patch)
treeb62dd41469e20b4bb7d777b3f40a0761968ff9d1 /Source/cmInstallTargetsCommand.cxx
parent8c55ea017e671223d7acc01f5121b6b45c697c2a (diff)
parent4075e1ca6ccd01183c9bb582a2291c5abc70a828 (diff)
downloadCMake-a61f633737067da7d765c5e479a7d6754d4a083a.zip
CMake-a61f633737067da7d765c5e479a7d6754d4a083a.tar.gz
CMake-a61f633737067da7d765c5e479a7d6754d4a083a.tar.bz2
Merge branch 'master' into import-KWSys-subtree
Diffstat (limited to 'Source/cmInstallTargetsCommand.cxx')
-rw-r--r--Source/cmInstallTargetsCommand.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmInstallTargetsCommand.cxx b/Source/cmInstallTargetsCommand.cxx
index 27fc175..277ccea 100644
--- a/Source/cmInstallTargetsCommand.cxx
+++ b/Source/cmInstallTargetsCommand.cxx
@@ -58,7 +58,8 @@ bool cmInstallTargetsCommand
}
this->Makefile->GetLocalGenerator()->GetGlobalGenerator()
- ->AddInstallComponent("Unspecified");
+ ->AddInstallComponent(this->Makefile->GetSafeDefinition(
+ "CMAKE_INSTALL_DEFAULT_COMPONENT_NAME"));
return true;
}