summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/DragonFly.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-06-06 19:36:54 (GMT)
committerBrad King <brad.king@kitware.com>2023-06-07 11:02:20 (GMT)
commit1373373823ccaf8378a19a95685337061d79d5b1 (patch)
tree882877cbe65068d3df0eadbd75a74fdd52a0d87c /Modules/Platform/DragonFly.cmake
parent1d916bf3d2dad26682ed73c6cbed88babe28af7b (diff)
downloadCMake-1373373823ccaf8378a19a95685337061d79d5b1.zip
CMake-1373373823ccaf8378a19a95685337061d79d5b1.tar.gz
CMake-1373373823ccaf8378a19a95685337061d79d5b1.tar.bz2
enable_language: Establish target platform identification variables earlier
Set target platform identification variables like `APPLE` and `LINUX` as soon as the target system is identified. This makes them available during toolchain and binutils selection. Fixes: #23333
Diffstat (limited to 'Modules/Platform/DragonFly.cmake')
-rw-r--r--Modules/Platform/DragonFly.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/Platform/DragonFly.cmake b/Modules/Platform/DragonFly.cmake
index 994ba79..12e5f3c 100644
--- a/Modules/Platform/DragonFly.cmake
+++ b/Modules/Platform/DragonFly.cmake
@@ -3,7 +3,6 @@
# see http://archive.netbsd.se/?ml=dfbsd-users&a=2007-07&m=4678361
include(Platform/FreeBSD)
-set(BSD "DragonFlyBSD")
# DragonFly BSD requires -z origin to enable $ORIGIN expansion in RPATH.
# This is not required for FreeBSD since 10.2-RELEASE.