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:
Jessica Hamilton
2021-07-28 05:48:03 -04:00
committed by Brad King
parent b880867e5a
commit a1261ce917

View File

@@ -1,8 +1,3 @@
# process only once
if(HAIKU)
return()
endif()
set(HAIKU 1)
set(UNIX 1)