summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authormilek7 <me@milek7.pl>2021-05-20 22:21:38 +0000
committerrubidium42 <rubidium42@users.noreply.github.com>2021-05-24 08:56:18 +0200
commit36bcd2956a0354d4d051f4c6cef95698b3ab7327 (patch)
tree71321c874d98df252381e0770e51a36117d797b9 /cmake
parent7c0762da65e1a568d686505ea5caad729cc659d5 (diff)
downloadopenttd-36bcd2956a0354d4d051f4c6cef95698b3ab7327.tar.xz
Fix: Building on Haiku
Diffstat (limited to 'cmake')
-rw-r--r--cmake/CompileFlags.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/CompileFlags.cmake b/cmake/CompileFlags.cmake
index 2f7528fe3..659a9ca72 100644
--- a/cmake/CompileFlags.cmake
+++ b/cmake/CompileFlags.cmake
@@ -158,7 +158,7 @@ macro(compile_flags)
message(FATAL_ERROR "No warning flags are set for this compiler yet; please consider creating a Pull Request to add support for this compiler.")
endif()
- if(NOT WIN32)
+ if(NOT WIN32 AND NOT HAIKU)
# rdynamic is used to get useful stack traces from crash reports.
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -rdynamic")
endif()