mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-13 15:27:21 +00:00
[client] windows: rebuild clean MsQuic archives
This commit is contained in:
@@ -274,7 +274,16 @@ function(lg_add_static_msquic)
|
|||||||
set(LG_MSQUIC_DEBUG_LIBRARY
|
set(LG_MSQUIC_DEBUG_LIBRARY
|
||||||
"${LG_MSQUIC_BINARY_DIR}/bin/Debug/msquic.lib")
|
"${LG_MSQUIC_BINARY_DIR}/bin/Debug/msquic.lib")
|
||||||
set(LG_MSQUIC_BUILD_CONFIG "$<CONFIG>")
|
set(LG_MSQUIC_BUILD_CONFIG "$<CONFIG>")
|
||||||
|
set(LG_MSQUIC_BUILD_LIBRARIES
|
||||||
|
"${LG_MSQUIC_BINARY_DIR}/bin/$<IF:$<CONFIG:Debug>,Debug,Release>/msquic.lib"
|
||||||
|
"${LG_MSQUIC_BINARY_DIR}/obj/$<IF:$<CONFIG:Debug>,Debug,Release>/msquic.lib")
|
||||||
|
|
||||||
|
# The Windows archive step overwrites its intermediate library with the
|
||||||
|
# monolithic result. Recreate both archives before combining dependencies
|
||||||
|
# so a later nested build does not add OpenSSL to the prior result again.
|
||||||
set(LG_MSQUIC_BUILD_COMMAND
|
set(LG_MSQUIC_BUILD_COMMAND
|
||||||
|
"${CMAKE_COMMAND}" -E rm -f ${LG_MSQUIC_BUILD_LIBRARIES}
|
||||||
|
COMMAND
|
||||||
"${CMAKE_COMMAND}" --build <BINARY_DIR>
|
"${CMAKE_COMMAND}" --build <BINARY_DIR>
|
||||||
--config ${LG_MSQUIC_BUILD_CONFIG}
|
--config ${LG_MSQUIC_BUILD_CONFIG}
|
||||||
--target msquic_lib
|
--target msquic_lib
|
||||||
|
|||||||
Reference in New Issue
Block a user