summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Haiku.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/Haiku.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/Haiku.cmake')
-rw-r--r--Modules/Platform/Haiku.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/Modules/Platform/Haiku.cmake b/Modules/Platform/Haiku.cmake
index b8e3ba6..7d9a737 100644
--- a/Modules/Platform/Haiku.cmake
+++ b/Modules/Platform/Haiku.cmake
@@ -1,6 +1,3 @@
-set(HAIKU 1)
-set(UNIX 1)
-
set(CMAKE_DL_LIBS "")
set(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC")
set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")