summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAdrian Pop <adrian.pop@liu.se>2024-03-10 00:34:20 (GMT)
committerBrad King <brad.king@kitware.com>2024-03-10 15:03:21 (GMT)
commitc51f84b96a649bf039fa05adfeb4d455ac67ed17 (patch)
treeb1077b843b975bdbe653c0507d3f1c5a31af78f9 /Modules
parent5c3512333c6afb9496a3fde0bf146fb1fa570f27 (diff)
downloadCMake-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.cmake2
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)