diff options
author | Daniel Black <grooverdan@users.sourceforge.net> | 2017-03-23 12:57:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-03-23 17:47:58 (GMT) |
commit | 8dc23a438065b711b7b60b17c982f34a96631d1a (patch) | |
tree | 60790b9d823ffc580cd573ff293308e9b04f3681 /Modules | |
parent | e1adec32b8325fb731da084e99acd6070f5e39bf (diff) | |
download | CMake-8dc23a438065b711b7b60b17c982f34a96631d1a.zip CMake-8dc23a438065b711b7b60b17c982f34a96631d1a.tar.gz CMake-8dc23a438065b711b7b60b17c982f34a96631d1a.tar.bz2 |
CPack/RPM: fix error message associated with source path length
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CPackRPM.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CPackRPM.cmake b/Modules/CPackRPM.cmake index 722ee15..1519e29 100644 --- a/Modules/CPackRPM.cmake +++ b/Modules/CPackRPM.cmake @@ -1472,8 +1472,8 @@ function(cpack_rpm_debugsymbol_check INSTALL_FILES WORKING_DIR) string(LENGTH "${CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX}/src_${index_}" debuginfo_dir_len) if(source_dir_len_ LESS debuginfo_dir_len) message(FATAL_ERROR "CPackRPM: source dir path '${source_dir_}' is" - " longer than debuginfo sources dir path '${CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX}/src_${index_}'!" - " Source dir path must be shorter than debuginfo sources dir path." + " shorter than debuginfo sources dir path '${CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX}/src_${index_}'!" + " Source dir path must be longer than debuginfo sources dir path." " Set CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX variable to a shorter value" " or make source dir path longer." " Required for debuginfo packaging. See documentation of" |