Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlemens Nanni <klemens@posteo.de>2022-01-22 00:05:06 +0300
committerRobert Adam <dev@robert-adam.de>2022-02-06 20:47:21 +0300
commitf1d724d25ec5c34dffb6e3d75b4fd62326307e6c (patch)
tree1a79f7fb13aa0f12d400e4b2fe82c71cd4d6accf /overlay_gl
parentdb3a280585ae0fb7798f18ba6487644e0b97802d (diff)
BUILD(client): Disable overlay-xcompile by default on OpenBSD
OpenBSD has no 32-bit compatibility layer (on 64-bit architectures), so this does not work by design.
Diffstat (limited to 'overlay_gl')
-rw-r--r--overlay_gl/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/overlay_gl/CMakeLists.txt b/overlay_gl/CMakeLists.txt
index f75984693..a3c4f5019 100644
--- a/overlay_gl/CMakeLists.txt
+++ b/overlay_gl/CMakeLists.txt
@@ -6,7 +6,9 @@
# Overlay payload for UNIX-like systems.
if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64" OR ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "amd64")
- option(overlay-xcompile "Build 32 bit overlay library, necessary for the overlay to work with 32 bit processes." ON)
+ if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
+ option(overlay-xcompile "Build 32 bit overlay library, necessary for the overlay to work with 32 bit processes." ON)
+ endif()
endif()
add_library(overlay_gl SHARED "overlay.c")