diff options
| author | Deniz Bahadir <deniz@code.bahadir.email> | 2024-04-24 09:08:32 (GMT) |
|---|---|---|
| committer | Deniz Bahadir <deniz@code.bahadir.email> | 2024-04-24 09:08:32 (GMT) |
| commit | 60f5118c7b8c037b79e7f8595c75a75c59cc5aa9 (patch) | |
| tree | c6ab9a286aa76cc9ff8eae1361368aaad714bda4 /Tests/FindPython/Python2SABIModule | |
| parent | 30fd6df0b175c697f448df72ef82459e55d4ec52 (diff) | |
| download | CMake-60f5118c7b8c037b79e7f8595c75a75c59cc5aa9.zip CMake-60f5118c7b8c037b79e7f8595c75a75c59cc5aa9.tar.gz CMake-60f5118c7b8c037b79e7f8595c75a75c59cc5aa9.tar.bz2 | |
cmCPackGenerator: Handle CPACK_TEMPORARY_[INSTALL]_DIRECTORY properly
The variable `CPACK_TEMPORARY_DIRECTORY` is an internal variable that is
required for proper packaging. Historically, a second variable
`CPACK_TEMPORARY_INSTALL_DIRECTORY` existed as well which had the same
purpose. Both variables had to be set to the same value. Otherwise,
CPack would not succeed with packaging.
In order to ease CPack's usage, the variable
`CPACK_TEMPORARY_INSTALL_DIRECTORY` is now no longer used.
However, as it cannot be guaranteed that neither of these two (internal)
variables have been used in the wild, some mechanism was introduced to
preserve backwards-compatibility: If one of these variables is set, the
other variable will be set to the same value. If, however, both are set
to different values, CPack still fails but with an explicit
error-message.
Fixes: #25046
Diffstat (limited to 'Tests/FindPython/Python2SABIModule')
0 files changed, 0 insertions, 0 deletions
