[build] msquic: add static network dependency

This commit is contained in:
Geoffrey McRae
2026-09-30 14:37:59 +10:00
parent 298577d25a
commit a3f822685c
10 changed files with 707 additions and 0 deletions

View File

@@ -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"