From cb884786e784170d7f5ca8403e5c7b61a0fcb0bd Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Thu, 1 Oct 2026 06:37:03 +1000 Subject: [PATCH] [idd] build: handle spaces in MsQuic paths --- cmake/MsQuic.Static.targets | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmake/MsQuic.Static.targets b/cmake/MsQuic.Static.targets index df0f778f..7d48b95b 100644 --- a/cmake/MsQuic.Static.targets +++ b/cmake/MsQuic.Static.targets @@ -28,15 +28,17 @@ Condition="'$(LGMsQuicArchitecture)'==''" Text="Static MsQuic does not support the $(Platform) platform in this project." /> + + Command="cmake -S "$(LGMsQuicSourceDir)." -B "$(LGMsQuicBuildDir)." -G "Visual Studio 17 2022" -A "$(LGMsQuicArchitecture)" -T v143 -DCMAKE_SYSTEM_VERSION="$(WindowsTargetPlatformVersion)" -DQUIC_BUILD_SHARED=OFF -DQUIC_BUILD_TOOLS=OFF -DQUIC_BUILD_TEST=OFF -DQUIC_BUILD_PERF=OFF -DQUIC_TLS_LIB=schannel -DQUIC_ENABLE_LOGGING=OFF -DQUIC_STATIC_LINK_CRT=OFF -DQUIC_STATIC_LINK_PARTIAL_CRT=OFF -DQUIC_SOURCE_LINK=OFF -DQUIC_PDBALTPATH=OFF -DQUIC_EMBED_GIT_HASH=OFF" /> + Command="cmake --build "$(LGMsQuicBuildDir)." --config "$(LGBaseConfiguration)" --target msquic_lib --parallel" />