kFreeBSD: Do not unset LINUX variable

kFreeBSD is a Debian GNU distribution with a kernel from FreeBSD,
and should be marked as LINUX.
This commit is contained in:
Cristian Adam 2022-08-18 12:42:51 +02:00 committed by Craig Scott
parent 4befac3b32
commit 2ae42d0aa3
No known key found for this signature in database
GPG Key ID: 6FF37CBDCCADED9F

View File

@ -1,5 +1,5 @@
# kFreeBSD looks just like Linux.
# kFreeBSD is a Debian GNU distribution with a kernel from FreeBSD,
# and should be marked as LINUX
include(Platform/Linux)
unset(LINUX)
set(CMAKE_LIBRARY_ARCHITECTURE_REGEX "[a-z0-9_]+(-[a-z0-9_]+)?-kfreebsd-gnu[a-z0-9_]*")