summaryrefslogtreecommitdiff
path: root/Modules/Platform/kFreeBSD.cmake
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@qt.io>2022-08-10 15:54:05 +0200
committerCraig Scott <craig.scott@crascit.com>2022-08-12 07:20:05 +1000
commit62cd3904bf22fd75a2502af09ef67f8458ce06e1 (patch)
tree1b5a145132ae73b4f0809ec0c6b6c4c51c7bfa03 /Modules/Platform/kFreeBSD.cmake
parent1493ed10a1485053bb0b7101ccd71d0101977402 (diff)
downloadcmake-62cd3904bf22fd75a2502af09ef67f8458ce06e1.tar.gz
variable: Set LINUX variable on Linux target systems
Fixes: #23840
Diffstat (limited to 'Modules/Platform/kFreeBSD.cmake')
-rw-r--r--Modules/Platform/kFreeBSD.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/kFreeBSD.cmake b/Modules/Platform/kFreeBSD.cmake
index c1db2594d4..01ddfd39e0 100644
--- a/Modules/Platform/kFreeBSD.cmake
+++ b/Modules/Platform/kFreeBSD.cmake
@@ -1,4 +1,5 @@
# kFreeBSD looks just like Linux.
include(Platform/Linux)
+unset(LINUX)
set(CMAKE_LIBRARY_ARCHITECTURE_REGEX "[a-z0-9_]+(-[a-z0-9_]+)?-kfreebsd-gnu[a-z0-9_]*")