Skip to content
Snippets Groups Projects
Commit ed1f3a5f authored by Ben Boeckel's avatar Ben Boeckel
Browse files

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

The `message` command does not support automatic dereferencing.
parent ece24b34
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment