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:40:01 (GMT) |
commit | 0877babe8b06e0dda64f9904508df648c40fb66a (patch) | |
tree | 77a69878c0e38d22a6dcec641084bd5e6e9b4dac /Modules | |
parent | fdf64354278b2586c34e7c42f66b071dc3b526f8 (diff) | |
parent | 139df0bc2fadf14c001a4dcc19585826ae653cd6 (diff) | |
download | CMake-0877babe8b06e0dda64f9904508df648c40fb66a.zip CMake-0877babe8b06e0dda64f9904508df648c40fb66a.tar.gz CMake-0877babe8b06e0dda64f9904508df648c40fb66a.tar.bz2 |
Merge topic 'revert-GetPrerequisites-linux-x86'
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
Diffstat (limited to 'Modules')
-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) |