summaryrefslogtreecommitdiffstats
path: root/Source
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 /Source
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 'Source')
-rw-r--r--Source/cmBinUtilsWindowsPEObjdumpGetRuntimeDependenciesTool.cxx2
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;