You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cmake/debian/patches/0003-Recognize-Multi-Arch-l...

21 lines
843 B

From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Mon, 11 Nov 2024 15:26:05 +0100
Subject: Recognize Multi-Arch libdir for musl-linux-any
Bug-Debian: https://bugs.debian.org/1085507
Forwarded: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9991
---
Modules/Platform/Linux-Initialize.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Modules/Platform/Linux-Initialize.cmake b/Modules/Platform/Linux-Initialize.cmake
index 7166b20..e1e5d7e 100644
--- a/Modules/Platform/Linux-Initialize.cmake
+++ b/Modules/Platform/Linux-Initialize.cmake
@@ -2,4 +2,4 @@ set(LINUX 1)
set(UNIX 1)
# Match multiarch library directory names.
-set(CMAKE_LIBRARY_ARCHITECTURE_REGEX "[a-z0-9_]+(-[a-z0-9_]+)?-linux-gnu[a-z0-9_]*")
+set(CMAKE_LIBRARY_ARCHITECTURE_REGEX "[a-z0-9_]+(-[a-z0-9_]+)?-linux-[a-z0-9_]*")