diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2021-06-07 11:11:44 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2021-06-07 11:11:44 (GMT) |
commit | ed1f3a5fa58872143c084fdd9b08a6a4335186c5 (patch) | |
tree | 27c136f3bff83f8a72438142d2bfdf559136011b /Modules | |
parent | ece24b343ad4ce6bfe09817116222456453a2317 (diff) | |
download | CMake-ed1f3a5fa58872143c084fdd9b08a6a4335186c5.zip CMake-ed1f3a5fa58872143c084fdd9b08a6a4335186c5.tar.gz CMake-ed1f3a5fa58872143c084fdd9b08a6a4335186c5.tar.bz2 |
CPackDeb: output the error message when no description can be made
The `message` command does not support automatic dereferencing.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Internal/CPack/CPackDeb.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Internal/CPack/CPackDeb.cmake b/Modules/Internal/CPack/CPackDeb.cmake index 2ef0489..2ceab10 100644 --- a/Modules/Internal/CPack/CPackDeb.cmake +++ b/Modules/Internal/CPack/CPackDeb.cmake @@ -557,7 +557,7 @@ function(cpack_deb_prepare_package_vars) string(APPEND _description_failure_message " or CPACK_DEBIAN_${_local_component_name}_DESCRIPTION") endif() - message(FATAL_ERROR _description_failure_message) + message(FATAL_ERROR "${_description_failure_message}") endif() # Ok, description has set. According to the `Debian Policy Manual`_ the first |