diff options
author | David Wosk <davidwosk1@gmail.com> | 2021-12-22 00:54:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-01-06 16:33:25 (GMT) |
commit | da737d34e05d4a07b64596fc4970a0dd279a741d (patch) | |
tree | 7109ab87afe67fec49bf4d924c2cffa2e1b78d71 /Source/CPack/cmCPackPKGGenerator.h | |
parent | 13e71b7c3ec9351f0c25656e72c1c0199ddf771c (diff) | |
download | CMake-da737d34e05d4a07b64596fc4970a0dd279a741d.zip CMake-da737d34e05d4a07b64596fc4970a0dd279a741d.tar.gz CMake-da737d34e05d4a07b64596fc4970a0dd279a741d.tar.bz2 |
CPack/productbuild: add options to control domains element
The domains element determines the required authorization level needed
for the install. The auth attribute of the pkg-ref element has been
deprecated in favor of domains, so if the domains options are
specified, the auth attribute is omitted.
Fixes: #23030
Diffstat (limited to 'Source/CPack/cmCPackPKGGenerator.h')
-rw-r--r-- | Source/CPack/cmCPackPKGGenerator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackPKGGenerator.h b/Source/CPack/cmCPackPKGGenerator.h index 5d97d16..256b334 100644 --- a/Source/CPack/cmCPackPKGGenerator.h +++ b/Source/CPack/cmCPackPKGGenerator.h @@ -91,6 +91,10 @@ protected: void CreateBackground(const char* themeName, const char* metapackageFile, cm::string_view genName, cmXMLWriter& xout); + /// Create the "domains" XML element to indicate where the product can + /// be installed + void CreateDomains(cmXMLWriter& xout); + // The PostFlight component when creating a metapackage cmCPackComponent PostFlightComponent; }; |