summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2021-06-07 11:11:44 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2021-06-07 11:11:44 (GMT)
commited1f3a5fa58872143c084fdd9b08a6a4335186c5 (patch)
tree27c136f3bff83f8a72438142d2bfdf559136011b /Modules
parentece24b343ad4ce6bfe09817116222456453a2317 (diff)
downloadCMake-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.cmake2
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