mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 06:09:52 -06:00
CPackRPM: Fix recognition of absolute relocation paths
Fix typo in logic added by commit 3ec02547 (CPackRPM: Allow multiple
path relocation prefixes for one package, 2015-01-21).
This commit is contained in:
@@ -442,7 +442,7 @@ function(cpack_rpm_prepare_relocation_paths)
|
||||
|
||||
# set other path prefixes
|
||||
foreach(RELOCATION_PATH ${RPM_RELOCATION_PATHS})
|
||||
if(IS_ABSOLUTE "${RELOCATE_PATH}")
|
||||
if(IS_ABSOLUTE "${RELOCATION_PATH}")
|
||||
set(PREPARED_RELOCATION_PATH "${RELOCATION_PATH}")
|
||||
else()
|
||||
set(PREPARED_RELOCATION_PATH "${PATH_PREFIX}/${RELOCATION_PATH}")
|
||||
|
||||
Reference in New Issue
Block a user