mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 03:39:43 -06:00
Platform/Haiku: Remove the include-once behavior
The behavior was added by commit 7ebc1cb2ff (Haiku: Several fixes to
platform module, 2013-10-05, v3.0.0-rc1~541^2~3), but was not explained
in its commit message. No other platform modules do this.
The include-once behavior results in incorrect variables set in some
larger projects, e.g. .NET Core, particularly when cross-compiling,
`CMAKE_DL_LIBS` being one of these. Remove it.
This commit is contained in:
committed by
Brad King
parent
b880867e5a
commit
a1261ce917
@@ -1,8 +1,3 @@
|
||||
# process only once
|
||||
if(HAIKU)
|
||||
return()
|
||||
endif()
|
||||
|
||||
set(HAIKU 1)
|
||||
set(UNIX 1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user