diff options
author | Klemens Nanni <klemens@posteo.de> | 2022-01-22 01:42:27 +0300 |
---|---|---|
committer | Robert Adam <dev@robert-adam.de> | 2022-02-06 20:48:21 +0300 |
commit | 501a9e8253d069ea5c52de83bdc0a6e2a6f81141 (patch) | |
tree | 53c54d502d1a5c35ad8374cc0f5a3e9e66243bef /CMakeLists.txt | |
parent | d9f1e47264d63d80242e9935af8eefdbc51f3c05 (diff) |
BUILD(client): Do not build overlay by default on OpenBSD
`overlay_gl/init_unix.c` is inherently Linux and FreeBSD specific, so
the build will fail until an OpenBSD implementation exists.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 560e2b31b..27b9eda5f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,7 +61,9 @@ option(static "Build static binaries." OFF) option(symbols "Build binaries in a way that allows easier debugging." OFF) option(warnings-as-errors "All warnings are treated as errors." ON) -option(overlay "Build overlay." ON) +if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD") + option(overlay "Build overlay." ON) +endif() option(packaging "Build package." OFF) option(plugins "Build plugins." ON) |