mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
commit
6d64fe290b
1 changed files with 5 additions and 1 deletions
|
@ -69,7 +69,7 @@ option(USE_BUNDLED_BLURHASH "Use the bundled version of blurhash." ON)
|
||||||
|
|
||||||
include(CMakeDependentOption)
|
include(CMakeDependentOption)
|
||||||
set(VOIP_DEFAULT ON)
|
set(VOIP_DEFAULT ON)
|
||||||
if(APPLE OR WIN32)
|
if(APPLE OR WIN32 OR HAIKU)
|
||||||
set(VOIP_DEFAULT OFF)
|
set(VOIP_DEFAULT OFF)
|
||||||
endif()
|
endif()
|
||||||
option(VOIP "Whether to enable voip support. Disable this, if you don't have gstreamer." ${VOIP_DEFAULT})
|
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)
|
target_link_libraries(nheko PRIVATE ntdll)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(HAIKU)
|
||||||
|
target_link_libraries(nheko PRIVATE network)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(QML_DEBUGGING)
|
if(QML_DEBUGGING)
|
||||||
target_compile_definitions(nheko PRIVATE QML_DEBUGGING)
|
target_compile_definitions(nheko PRIVATE QML_DEBUGGING)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue