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 /Source | |
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 'Source')
-rw-r--r-- | Source/cmBinUtilsWindowsPEObjdumpGetRuntimeDependenciesTool.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmBinUtilsWindowsPEObjdumpGetRuntimeDependenciesTool.cxx b/Source/cmBinUtilsWindowsPEObjdumpGetRuntimeDependenciesTool.cxx index d95da95..d54aa7d 100644 --- a/Source/cmBinUtilsWindowsPEObjdumpGetRuntimeDependenciesTool.cxx +++ b/Source/cmBinUtilsWindowsPEObjdumpGetRuntimeDependenciesTool.cxx @@ -44,7 +44,7 @@ bool cmBinUtilsWindowsPEObjdumpGetRuntimeDependenciesTool::GetFileInfo( std::string line; static const cmsys::RegularExpression regex( - "^\t*DLL Name: ([^\n]*\\.[Dd][Ll][Ll])$"); + "^[\t ]*DLL Name: ([^\n]*\\.[Dd][Ll][Ll])$"); cmUVPipeIStream output(process.GetLoop(), process.OutputStream()); while (cmSystemTools::GetLineFromStream(output, line)) { cmsys::RegularExpressionMatch match; |