summaryrefslogtreecommitdiffstats
path: root/Modules/CPackRPM.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-03-24 12:23:12 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-03-24 12:23:15 (GMT)
commit8b25d8e23c1415a99c0cd270f6fe8c4b26749870 (patch)
tree2854ae214edd29e61a2d4f5da73e1dcfcd9bc021 /Modules/CPackRPM.cmake
parent1898f7c7d329d9b2f32f3b7957430533b697d591 (diff)
parent8dc23a438065b711b7b60b17c982f34a96631d1a (diff)
downloadCMake-8b25d8e23c1415a99c0cd270f6fe8c4b26749870.zip
CMake-8b25d8e23c1415a99c0cd270f6fe8c4b26749870.tar.gz
CMake-8b25d8e23c1415a99c0cd270f6fe8c4b26749870.tar.bz2
Merge topic 'cpack-rpm-correct-error-message-debug-lengths'
8dc23a43 CPack/RPM: fix error message associated with source path length Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Domen Vrankar <domen.vrankar@gmail.com> Merge-request: !614
Diffstat (limited to 'Modules/CPackRPM.cmake')
-rw-r--r--Modules/CPackRPM.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CPackRPM.cmake b/Modules/CPackRPM.cmake
index 2e69195..95263ed 100644
--- a/Modules/CPackRPM.cmake
+++ b/Modules/CPackRPM.cmake
@@ -1482,8 +1482,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"