CPackDeb: output the error message when no description can be made

The `message` command does not support automatic dereferencing.
This commit is contained in:
Ben Boeckel
2021-06-07 07:11:44 -04:00
parent ece24b343a
commit ed1f3a5fa5

View File

@@ -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