diff options
author | Adrian Pop <adrian.pop@liu.se> | 2024-03-10 00:34:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-03-10 15:03:21 (GMT) |
commit | c51f84b96a649bf039fa05adfeb4d455ac67ed17 (patch) | |
tree | b1077b843b975bdbe653c0507d3f1c5a31af78f9 /Modules | |
parent | 5c3512333c6afb9496a3fde0bf146fb1fa570f27 (diff) | |
download | CMake-c51f84b96a649bf039fa05adfeb4d455ac67ed17.zip CMake-c51f84b96a649bf039fa05adfeb4d455ac67ed17.tar.gz CMake-c51f84b96a649bf039fa05adfeb4d455ac67ed17.tar.bz2 |
GET_RUNTIME_DEPENDENCIES: Allow more whitespace before objdump's "DLL Name:"
LLVM's `llvm-objdump` has spaces before "DLL Name:" instead of tabs.
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 d55c4ca..b77f650 100644 --- a/Modules/GetPrerequisites.cmake +++ b/Modules/GetPrerequisites.cmake @@ -748,7 +748,7 @@ function(get_prerequisites target prerequisites_var exclude_system recurse exepa set(gp_regex_cmp_count 1) elseif(gp_tool MATCHES "objdump(\\.exe)?$") set(gp_cmd_args "-p") - set(gp_regex "^\t*DLL Name: (.*\\.[Dd][Ll][Ll])${eol_char}$") + set(gp_regex "^[\t ]*DLL Name: (.*\\.[Dd][Ll][Ll])${eol_char}$") set(gp_regex_error "") set(gp_regex_fallback "") set(gp_regex_cmp_count 1) |