diff options
author | Brad King <brad.king@kitware.com> | 2023-06-06 19:36:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-06-07 11:02:20 (GMT) |
commit | 1373373823ccaf8378a19a95685337061d79d5b1 (patch) | |
tree | 882877cbe65068d3df0eadbd75a74fdd52a0d87c /Modules/Platform/Haiku.cmake | |
parent | 1d916bf3d2dad26682ed73c6cbed88babe28af7b (diff) | |
download | CMake-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.cmake | 3 |
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") |