summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/kFreeBSD-Initialize.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/kFreeBSD-Initialize.cmake')
-rw-r--r--Modules/Platform/kFreeBSD-Initialize.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/Platform/kFreeBSD-Initialize.cmake b/Modules/Platform/kFreeBSD-Initialize.cmake
new file mode 100644
index 0000000..f5d7b0a
--- /dev/null
+++ b/Modules/Platform/kFreeBSD-Initialize.cmake
@@ -0,0 +1,5 @@
+# kFreeBSD is a Debian GNU distribution with a kernel from FreeBSD,
+# and should be marked as LINUX
+include(Platform/Linux-Initialize)
+
+set(CMAKE_LIBRARY_ARCHITECTURE_REGEX "[a-z0-9_]+(-[a-z0-9_]+)?-kfreebsd-gnu[a-z0-9_]*")