diff options
author | Brad King <brad.king@kitware.com> | 2023-06-06 19:31:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-06-06 19:35:20 (GMT) |
commit | 1d916bf3d2dad26682ed73c6cbed88babe28af7b (patch) | |
tree | 3b6730eb46abb521eabd568298523459737e447d /Modules/Platform/kFreeBSD.cmake | |
parent | c01091d2cf786f361a47a2875ba73d05c1642488 (diff) | |
download | CMake-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.cmake | 5 |
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_]*") |