summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2026-01-11 16:27:29 -0500
committerGitHub <noreply@github.com>2026-01-11 16:27:29 -0500
commit823d111922ee9fb6d9d48ecd41b08bd862e5a4f3 (patch)
tree1b18e74b76cf65492a59cbf9bbb6503834dccb6b /CMakeLists.txt
parent28a8fa5de62106465d06b8052afd3883fdc291de (diff)
parent2005b0365e4fbde37ccc906a79e32673d42fad47 (diff)
Merge pull request #14255 from JoshuaVandaele/bsd-fix
cpp-ipc: Fix builds on non-FreeBSD BSDs
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8f432b77bb..bb9fe27109 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -773,8 +773,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()
########################################