mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-13 07:17:28 +00:00
[client] network: refresh nested MsQuic configuration
This commit is contained in:
@@ -422,9 +422,17 @@ function(lg_add_static_msquic)
|
|||||||
list(APPEND LG_MSQUIC_LINK_LIBRARIES
|
list(APPEND LG_MSQUIC_LINK_LIBRARIES
|
||||||
${LG_MSQUIC_SYSTEM_LIBRARIES})
|
${LG_MSQUIC_SYSTEM_LIBRARIES})
|
||||||
|
|
||||||
# The submodule and injected compatibility files can change without
|
set(LG_MSQUIC_RECONFIGURE_COMMAND
|
||||||
# invalidating ExternalProject's build stamp. Invoke the nested build so
|
"${CMAKE_COMMAND}"
|
||||||
# its own dependency tracking can update only the affected outputs.
|
-S <SOURCE_DIR>
|
||||||
|
-B <BINARY_DIR>
|
||||||
|
${LG_MSQUIC_CMAKE_ARGS}
|
||||||
|
)
|
||||||
|
|
||||||
|
# The submodule, configuration, and injected compatibility files can change
|
||||||
|
# without invalidating ExternalProject's configure stamp. Reconfigure before
|
||||||
|
# every nested build, then let its dependency tracking update only the
|
||||||
|
# affected outputs.
|
||||||
ExternalProject_Add(lg_msquic_build
|
ExternalProject_Add(lg_msquic_build
|
||||||
SOURCE_DIR "${LG_MSQUIC_SOURCE_DIR}"
|
SOURCE_DIR "${LG_MSQUIC_SOURCE_DIR}"
|
||||||
BINARY_DIR "${LG_MSQUIC_BINARY_DIR}"
|
BINARY_DIR "${LG_MSQUIC_BINARY_DIR}"
|
||||||
@@ -433,7 +441,9 @@ function(lg_add_static_msquic)
|
|||||||
INSTALL_COMMAND ""
|
INSTALL_COMMAND ""
|
||||||
CMAKE_ARGS ${LG_MSQUIC_CMAKE_ARGS}
|
CMAKE_ARGS ${LG_MSQUIC_CMAKE_ARGS}
|
||||||
BUILD_ALWAYS ON
|
BUILD_ALWAYS ON
|
||||||
BUILD_COMMAND ${LG_MSQUIC_BUILD_COMMAND}
|
BUILD_COMMAND
|
||||||
|
${LG_MSQUIC_RECONFIGURE_COMMAND}
|
||||||
|
COMMAND ${LG_MSQUIC_BUILD_COMMAND}
|
||||||
BUILD_BYPRODUCTS ${LG_MSQUIC_BUILD_BYPRODUCTS}
|
BUILD_BYPRODUCTS ${LG_MSQUIC_BUILD_BYPRODUCTS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user