summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Linux.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-05-31 20:32:45 (GMT)
committerBrad King <brad.king@kitware.com>2023-05-31 20:52:54 (GMT)
commitcc737ae8295156812e697a9d2f3f7b79bf7b72c8 (patch)
tree2c5266af495450f4ddf92eeab59b8de7423b62a5 /Modules/Platform/Linux.cmake
parent26240066084b9cbe37956cee4b3be1e75e144ce5 (diff)
downloadCMake-cc737ae8295156812e697a9d2f3f7b79bf7b72c8.zip
CMake-cc737ae8295156812e697a9d2f3f7b79bf7b72c8.tar.gz
CMake-cc737ae8295156812e697a9d2f3f7b79bf7b72c8.tar.bz2
Linux: Provide multiarch library directory regex earlier
Make `CMAKE_LIBRARY_ARCHITECTURE_REGEX` available while determining compilers before `Platform/Linux` is loaded.
Diffstat (limited to 'Modules/Platform/Linux.cmake')
-rw-r--r--Modules/Platform/Linux.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/Modules/Platform/Linux.cmake b/Modules/Platform/Linux.cmake
index 3dc3ca3..1f2d8e6 100644
--- a/Modules/Platform/Linux.cmake
+++ b/Modules/Platform/Linux.cmake
@@ -80,9 +80,6 @@ else()
endif()
endif()
-# Match multiarch library directory names.
-set(CMAKE_LIBRARY_ARCHITECTURE_REGEX "[a-z0-9_]+(-[a-z0-9_]+)?-linux-gnu[a-z0-9_]*")
-
include(Platform/UnixPaths)
# Debian has lib32 and lib64 paths only for compatibility so they should not be