summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/kFreeBSD.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-06-06 19:31:50 (GMT)
committerBrad King <brad.king@kitware.com>2023-06-06 19:35:20 (GMT)
commit1d916bf3d2dad26682ed73c6cbed88babe28af7b (patch)
tree3b6730eb46abb521eabd568298523459737e447d /Modules/Platform/kFreeBSD.cmake
parentc01091d2cf786f361a47a2875ba73d05c1642488 (diff)
downloadCMake-1d916bf3d2dad26682ed73c6cbed88babe28af7b.zip
CMake-1d916bf3d2dad26682ed73c6cbed88babe28af7b.tar.gz
CMake-1d916bf3d2dad26682ed73c6cbed88babe28af7b.tar.bz2
kFreeBSD,GNU: Provide multiarch library directory regex earlier
Make `CMAKE_LIBRARY_ARCHITECTURE_REGEX` available while determining compilers before `Platform/{kFreeBSD,GNU}` is loaded. Follow up commit cc737ae829 (Linux: Provide multiarch library directory regex earlier, 2023-05-31).
Diffstat (limited to 'Modules/Platform/kFreeBSD.cmake')
-rw-r--r--Modules/Platform/kFreeBSD.cmake5
1 files changed, 1 insertions, 4 deletions
diff --git a/Modules/Platform/kFreeBSD.cmake b/Modules/Platform/kFreeBSD.cmake
index 09c240d..171c1ac 100644
--- a/Modules/Platform/kFreeBSD.cmake
+++ b/Modules/Platform/kFreeBSD.cmake
@@ -1,5 +1,2 @@
-# kFreeBSD is a Debian GNU distribution with a kernel from FreeBSD,
-# and should be marked as LINUX
+# kFreeBSD is a Debian GNU distribution with a kernel from FreeBSD.
include(Platform/Linux)
-
-set(CMAKE_LIBRARY_ARCHITECTURE_REGEX "[a-z0-9_]+(-[a-z0-9_]+)?-kfreebsd-gnu[a-z0-9_]*")