summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallProgramsCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-02-09 15:10:15 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-02-09 15:10:15 (GMT)
commit3b8c0fbfd787fc21137b0e2f511e7c91b3e70227 (patch)
treee26136e90d9b8de322979130c584093051ba2f1b /Source/cmInstallProgramsCommand.cxx
parent8aec0f955a5e6a11cea6004a31fbe88760db939f (diff)
parent586e56d0ef8c9bda2e5c24371ad7bb0b95a4395f (diff)
downloadCMake-3b8c0fbfd787fc21137b0e2f511e7c91b3e70227.zip
CMake-3b8c0fbfd787fc21137b0e2f511e7c91b3e70227.tar.gz
CMake-3b8c0fbfd787fc21137b0e2f511e7c91b3e70227.tar.bz2
Merge topic 'install-EXCLUDE_FROM_ALL'
586e56d0 Help: Add notes for topic 'install-EXCLUDE_FROM_ALL' d321c196 Tests: Add cases for install() command EXCLUDE_FROM_ALL option 18ce97c4 install: Add EXCLUDE_FROM_ALL option (#14921)
Diffstat (limited to 'Source/cmInstallProgramsCommand.cxx')
-rw-r--r--Source/cmInstallProgramsCommand.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmInstallProgramsCommand.cxx b/Source/cmInstallProgramsCommand.cxx
index e6fbe88..b6d0c45 100644
--- a/Source/cmInstallProgramsCommand.cxx
+++ b/Source/cmInstallProgramsCommand.cxx
@@ -85,6 +85,7 @@ void cmInstallProgramsCommand::FinalPass()
// Use a file install generator.
const char* no_permissions = "";
const char* no_rename = "";
+ bool no_exclude_from_all = false;
std::string no_component = this->Makefile->GetSafeDefinition(
"CMAKE_INSTALL_DEFAULT_COMPONENT_NAME");
std::vector<std::string> no_configurations;
@@ -94,7 +95,8 @@ void cmInstallProgramsCommand::FinalPass()
new cmInstallFilesGenerator(this->Files,
destination.c_str(), true,
no_permissions, no_configurations,
- no_component.c_str(), message, no_rename));
+ no_component.c_str(), message,
+ no_exclude_from_all, no_rename));
}
/**