summaryrefslogtreecommitdiff
path: root/Help
diff options
context:
space:
mode:
authorChristian Heimlich <chris@pcserenity.com>2023-03-06 13:48:24 -0500
committerChristian Heimlich <chris@pcserenity.com>2023-03-23 15:19:26 -0400
commitfa45594407c2650e9d350e04a534dd17314bf40a (patch)
treeece7462b15067412385c43b771f58c1ffc00a549 /Help
parent14cfd6a1ebf12c043aa4b5031bf9621bde068eb3 (diff)
downloadcmake-fa45594407c2650e9d350e04a534dd17314bf40a.tar.gz
file(GET_RUNTIME_DEPENDENCIES): Preserve casing for Windows PE binaries
For Windows PE files the `file(GET_RUNTIME_DEPENDENCIES)` command converts the name of all DLLs found during binary scanning to lowercase in order to simplify the syntax requirements of its regex filters; however, this has the side-effect of causing all DLL paths returned via RESOLVED_DEPENDENCIES_VAR to be in lowercase, regardless of their actual casing. Instead, respect the original casing as closely as possible when returning resolved dependencies after all filters have been passed: When evaluating a Windows PE format binary on a non-Windows host the casing of dependencies recorded within the binary are used. When the host is running Windows, the actual casing of the dependencies on-disk are used instead. Fixes: #23091
Diffstat (limited to 'Help')
0 files changed, 0 insertions, 0 deletions