cmCPackGenerator: Fix comment in function InstallCMakeProject

This commit is contained in:
Deniz Bahadir
2024-04-30 18:36:25 +02:00
parent 87cfe9dd91
commit a522abe5c0

View File

@@ -890,7 +890,7 @@ int cmCPackGenerator::InstallCMakeProject(
if (this->IsOn("CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION")) {
mf.AddDefinition("CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION", "1");
}
// If current CPack generator does support
// If current CPack generator does not support
// ABSOLUTE INSTALL DESTINATION or CPack has been asked for
// then ask cmake_install.cmake script to error out
// as soon as it occurs (before installing file)