mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-02 04:02:23 +03:00
CPack/RPM: fix error message associated with source path length
This commit is contained in:
1 parent
e1adec32b8
commit
8dc23a4380
1 file changed
+2
-2
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user