summary refs log tree commit diff
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2023-11-20 21:19:46 +0100
committerGitHub <noreply@github.com>2023-11-20 21:19:46 +0100
commit6d64fe290bfb91338b8ce2aa7d6606f643f682cc (patch)
tree6aaae2bc70deccfbc60ff28dd47f0ece84fff153
parentSupport activation tokens for notifications (diff)
parentHaiku build fixes (diff)
downloadnheko-6d64fe290bfb91338b8ce2aa7d6606f643f682cc.tar.xz
Merge pull request #1618 from Begasus/haiku
Haiku
-rw-r--r--CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt

index 53501db6..01c49d7d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -69,7 +69,7 @@ option(USE_BUNDLED_BLURHASH "Use the bundled version of blurhash." ON) include(CMakeDependentOption) set(VOIP_DEFAULT ON) -if(APPLE OR WIN32) +if(APPLE OR WIN32 OR HAIKU) set(VOIP_DEFAULT OFF) endif() option(VOIP "Whether to enable voip support. Disable this, if you don't have gstreamer." ${VOIP_DEFAULT}) @@ -928,6 +928,10 @@ if(MSVC) target_link_libraries(nheko PRIVATE ntdll) endif() +if(HAIKU) + target_link_libraries(nheko PRIVATE network) +endif() + if(QML_DEBUGGING) target_compile_definitions(nheko PRIVATE QML_DEBUGGING) endif()