mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-01 04:03:24 +03: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:
1 parent
b880867e5a
commit
a1261ce917
1 file changed
-5
@@ -1,8 +1,3 @@
|
||||
# process only once
|
||||
if(HAIKU)
|
||||
return()
|
||||
endif()
|
||||
|
||||
set(HAIKU 1)
|
||||
set(UNIX 1)
|
||||
|
||||
|
||||
Reference in new issue
Block a user