diff options
author | Nils Gladitz <nilsgladitz@gmail.com> | 2022-05-14 08:28:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-05-16 13:34:31 (GMT) |
commit | b0c8e31b54ca7ab2647e9301a12a73c23f887acb (patch) | |
tree | 8ec2ef518f58d5a8bf05212dee597d73ba9dd988 /Source/cmInstallGenerator.h | |
parent | de5777090159eb2d74b17ee9f5d3c8ee9678ec4e (diff) | |
download | CMake-b0c8e31b54ca7ab2647e9301a12a73c23f887acb.zip CMake-b0c8e31b54ca7ab2647e9301a12a73c23f887acb.tar.gz CMake-b0c8e31b54ca7ab2647e9301a12a73c23f887acb.tar.bz2 |
install: Don't ignore EXCLUDE_FROM_ALL when used with ALL_COMPONENTS
Fixes: #23494
Diffstat (limited to 'Source/cmInstallGenerator.h')
-rw-r--r-- | Source/cmInstallGenerator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmInstallGenerator.h b/Source/cmInstallGenerator.h index d342c99..9fcd284 100644 --- a/Source/cmInstallGenerator.h +++ b/Source/cmInstallGenerator.h @@ -78,7 +78,8 @@ protected: void GenerateScript(std::ostream& os) override; std::string CreateComponentTest(const std::string& component, - bool exclude_from_all); + bool exclude_from_all, + bool all_components = false); using TweakMethod = std::function<void(std::ostream& os, Indent indent, |