diff options
| author | Joshua Vandaƫle <joshua@vandaele.software> | 2026-01-06 21:20:54 +0100 |
|---|---|---|
| committer | Joshua Vandaƫle <joshua@vandaele.software> | 2026-01-06 21:46:33 +0100 |
| commit | 2005b0365e4fbde37ccc906a79e32673d42fad47 (patch) | |
| tree | de16abf6ef8d47122116f2b322dc2e66028b8788 /CMakeLists.txt | |
| parent | fb2a46c4cfa2687cd0191c00efaa4ce9431ca639 (diff) | |
cpp-ipc: Fix builds on non-FreeBSD BSDs
cpp-ipc is explicitely only available on Windows, Linux, QNX, and FreeBSD. Trying to build dolphin on any another BSD such as OpenBSD or Haiku currently leads to failure because of this.
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 5e63c62c66..29ba31ce4a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -786,8 +786,10 @@ endif() add_subdirectory(Externals/watcher) -if(NOT ANDROID AND NOT APPLE) +# Any other platform or BSD is currently unsupported by cpp-ipc +if(WIN32 OR LINUX OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "QNX") add_subdirectory(Externals/cpp-ipc) + add_definitions(-DHAVE_CPPIPC) endif() ######################################## |
