diff options
author | Brad King <brad.king@kitware.com> | 2023-11-01 13:39:32 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-11-01 13:39:59 (GMT) |
commit | 3f7419a1242069a9e33417c848e99fb755bf6472 (patch) | |
tree | 78fd14ec8955d19870663cb031a8c2f5ed9c7255 | |
parent | ff60cd6c67ad6f4e3456f44a0bf461c98b799aad (diff) | |
parent | 139df0bc2fadf14c001a4dcc19585826ae653cd6 (diff) | |
download | CMake-3f7419a1242069a9e33417c848e99fb755bf6472.zip CMake-3f7419a1242069a9e33417c848e99fb755bf6472.tar.gz CMake-3f7419a1242069a9e33417c848e99fb755bf6472.tar.bz2 |
Merge topic 'revert-GetPrerequisites-linux-x86' into release-3.28
139df0bc2f GetPrerequisites: Revert "Ignore relative paths printed by ldd"
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8933
-rw-r--r-- | Modules/GetPrerequisites.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/GetPrerequisites.cmake b/Modules/GetPrerequisites.cmake index 0cd49ab..0ba35b6 100644 --- a/Modules/GetPrerequisites.cmake +++ b/Modules/GetPrerequisites.cmake @@ -730,7 +730,7 @@ function(get_prerequisites target prerequisites_var exclude_system recurse exepa if(gp_tool MATCHES "ldd$") set(gp_cmd_args "") - set(gp_regex "^[\t ]*[^\t ]+ =>[\t ]+(/[^\t\(]+)( \(.+\))?${eol_char}$") + set(gp_regex "^[\t ]*[^\t ]+ =>[\t ]+([^\t\(]+)( \(.+\))?${eol_char}$") set(gp_regex_error "not found${eol_char}$") set(gp_regex_fallback "^[\t ]*([^\t ]+) => ([^\t ]+).*${eol_char}$") set(gp_regex_cmp_count 1) |