CPack Honor CPACK_MONOLITHIC_INSTALL at CPack time too
This commit is contained in:
parent
1b98d99c28
commit
17b05e6d7f
|
@ -551,7 +551,14 @@ int cmCPackGenerator::InstallProjectViaInstallCMakeProjects(
|
||||||
std::vector<std::string> componentsVector;
|
std::vector<std::string> componentsVector;
|
||||||
|
|
||||||
bool componentInstall = false;
|
bool componentInstall = false;
|
||||||
if (this->SupportsComponentInstallation())
|
/*
|
||||||
|
* We do a component install iff
|
||||||
|
* - the CPack generator support component
|
||||||
|
* - the user did not request Monolithic install
|
||||||
|
* (this works at CPack time too)
|
||||||
|
*/
|
||||||
|
if (this->SupportsComponentInstallation() &
|
||||||
|
!(this->IsSet("CPACK_MONOLITHIC_INSTALL")))
|
||||||
{
|
{
|
||||||
// Determine the installation types for this project (if provided).
|
// Determine the installation types for this project (if provided).
|
||||||
std::string installTypesVar = "CPACK_"
|
std::string installTypesVar = "CPACK_"
|
||||||
|
|
Loading…
Reference in New Issue