summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2019-11-12 13:16:17 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-11-12 13:16:31 (GMT)
commit27020c81d516707ee2069d343cd058496fa71587 (patch)
tree9c1c768f6aee49e2daee807008b1561a8abd7934 /Source/CPack
parent2dcd7ce4ba803fa4c4d27526e45e2c9cbb88e49e (diff)
parent1d1fa5d3e4f3594f1c1db258e526c4b747117aa2 (diff)
downloadCMake-27020c81d516707ee2069d343cd058496fa71587.zip
CMake-27020c81d516707ee2069d343cd058496fa71587.tar.gz
CMake-27020c81d516707ee2069d343cd058496fa71587.tar.bz2
Merge topic 'remove-CPACK_INSTALL_CMAKE_CONFIGURATIONS'
1d1fa5d3e4 Tests: Add RunCMake.CPackCommandLine case for multi-config package 108207cc84 CPack: Remove CPACK_INSTALL_CMAKE_CONFIGURATIONS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4025
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cmCPackGenerator.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx
index 153f328..7a6c50b 100644
--- a/Source/CPack/cmCPackGenerator.cxx
+++ b/Source/CPack/cmCPackGenerator.cxx
@@ -605,14 +605,6 @@ int cmCPackGenerator::InstallProjectViaInstallCMakeProjects(
cmExpandList(buildConfig, buildConfigs);
}
- // Try get configurations requested by the user explicitly
- {
- const char* const configsCstr =
- this->GetOption("CPACK_INSTALL_CMAKE_CONFIGURATIONS");
- auto configs = configsCstr ? configsCstr : std::string{};
- cmExpandList(configs, buildConfigs);
- }
-
// Remove duplicates
std::sort(buildConfigs.begin(), buildConfigs.end());
buildConfigs.erase(std::unique(buildConfigs.begin(), buildConfigs.end()),