Browse Source

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.
Jessica Hamilton 4 years ago
parent
commit
a1261ce917
1 changed files with 0 additions and 5 deletions
  1. 0 5
      Modules/Platform/Haiku.cmake

+ 0 - 5
Modules/Platform/Haiku.cmake

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