Browse Source

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

The `message` command does not support automatic dereferencing.
Ben Boeckel 4 years ago
parent
commit
ed1f3a5fa5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/Internal/CPack/CPackDeb.cmake

+ 1 - 1
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