[CMake] Fix an issue where get_system_libname creates an empty regex capture on windows
authorPetr Hosek <phosek@google.com>
Wed, 19 Aug 2020 21:33:52 +0000 (14:33 -0700)
committerPetr Hosek <phosek@google.com>
Wed, 19 Aug 2020 21:33:52 +0000 (14:33 -0700)
commit1ed1e16ab83f55d85c90ae43a05cbe08a00c20e0
tree30e2432e8d24f51b118fd9cfebc9ab65b282980a
parent7a028fe7029592e2edb3ce98a2ee5dc3c31e57de
[CMake] Fix an issue where get_system_libname creates an empty regex capture on windows

Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=1119478

Patch By: haampie

Differential Revision: https://reviews.llvm.org/D86245
llvm/lib/Support/CMakeLists.txt