mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-13 07:17:28 +00:00
[build] msquic: add static network dependency
This commit is contained in:
@@ -115,6 +115,17 @@ option(ENABLE_SPICE "Build with SPICE transport support"
|
||||
${LG_CLIENT_PLATFORM_LINUX})
|
||||
add_feature_info(ENABLE_SPICE ENABLE_SPICE "SPICE transport support.")
|
||||
|
||||
option(ENABLE_NETWORK "Build with network transport support" OFF)
|
||||
add_feature_info(ENABLE_NETWORK ENABLE_NETWORK "QUIC network transport.")
|
||||
if(ENABLE_NETWORK AND NOT ENABLE_EGL)
|
||||
message(FATAL_ERROR "ENABLE_NETWORK requires ENABLE_EGL")
|
||||
endif()
|
||||
|
||||
if(ENABLE_NETWORK AND LG_CLIENT_PLATFORM_WINDOWS)
|
||||
include(MsQuic)
|
||||
lg_add_static_msquic()
|
||||
endif()
|
||||
|
||||
cmake_dependent_option(
|
||||
ENABLE_USB_AUDIO
|
||||
"Build with USB audio support"
|
||||
|
||||
Reference in New Issue
Block a user