summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/OpenBSD.cmake
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2022-09-05 22:29:04 (GMT)
committerCristian Adam <cristian.adam@gmail.com>2022-09-05 23:02:34 (GMT)
commit288f72efea0636c498755a9cec6d5ddcbfed5c8c (patch)
tree990b00b513085b8f843f697bbcec8333c32f1309 /Modules/Platform/OpenBSD.cmake
parent9b1b9b9aae371acb9d18b481d45bcaec2d312e27 (diff)
downloadCMake-288f72efea0636c498755a9cec6d5ddcbfed5c8c.zip
CMake-288f72efea0636c498755a9cec6d5ddcbfed5c8c.tar.gz
CMake-288f72efea0636c498755a9cec6d5ddcbfed5c8c.tar.bz2
BSD: Only use BSD as variable for target BSD system
Instead of having multiple boolean variables, we only have one string variable: BSD with the name of the target BSD system. Relates: #23853
Diffstat (limited to 'Modules/Platform/OpenBSD.cmake')
-rw-r--r--Modules/Platform/OpenBSD.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/Platform/OpenBSD.cmake b/Modules/Platform/OpenBSD.cmake
index f6b955a..51ea60d 100644
--- a/Modules/Platform/OpenBSD.cmake
+++ b/Modules/Platform/OpenBSD.cmake
@@ -1,6 +1,5 @@
include(Platform/NetBSD)
-unset(NETBSD)
-set(OPENBSD 1)
+set(BSD "OpenBSD")
# On OpenBSD, the compile time linker does not share it's configuration with
# the runtime linker. This will extract the library search paths from the