From 829787649bbec7a707b9ced05e39718bbca57fff Mon Sep 17 00:00:00 2001 From: Allison Piper Date: Fri, 5 Apr 2024 21:03:16 +0000 Subject: [PATCH] More flailing about in powershell. --- ci/windows/build_common.psm1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/windows/build_common.psm1 b/ci/windows/build_common.psm1 index 1b8b534..1edea63 100644 --- a/ci/windows/build_common.psm1 +++ b/ci/windows/build_common.psm1 @@ -73,8 +73,9 @@ function configure_preset { # CMake must be invoked in the same directory as the presets file: pushd ".." - echo "cmake --preset $PRESET $CMAKE_OPTIONS --log-level VERBOSE" - cmake --preset $PRESET $CMAKE_OPTIONS --log-level VERBOSE + $cmake_command = "cmake --preset $PRESET $CMAKE_OPTIONS --log-level VERBOSE" + echo "$cmake_command" + Invoke-Expression $cmake_command $test_result = $LastExitCode If ($test_result -ne 0) {