summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/DragonFly.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/DragonFly.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/DragonFly.cmake')
-rw-r--r--Modules/Platform/DragonFly.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/Platform/DragonFly.cmake b/Modules/Platform/DragonFly.cmake
index d8bc05a..994ba79 100644
--- a/Modules/Platform/DragonFly.cmake
+++ b/Modules/Platform/DragonFly.cmake
@@ -3,8 +3,7 @@
# see http://archive.netbsd.se/?ml=dfbsd-users&a=2007-07&m=4678361
include(Platform/FreeBSD)
-unset(FREEBSD)
-set(DRAGONFLYBSD 1)
+set(BSD "DragonFlyBSD")
# DragonFly BSD requires -z origin to enable $ORIGIN expansion in RPATH.
# This is not required for FreeBSD since 10.2-RELEASE.