Skip to content

Commit bc19d67

Browse files
committed
Fix MSVC CMake flag quoting
1 parent ed0d8f5 commit bc19d67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
}
8080
8181
$devCmd = Join-Path $installationPath "Common7\Tools\VsDevCmd.bat"
82-
$command = "`"$devCmd`" -arch=x64 && cmake -S . -B build -G Ninja -DMICROTIMER_BUILD_TESTS=ON -DCMAKE_C_COMPILER=cl -DCMAKE_C_FLAGS=/W4\ /WX && cmake --build build && ctest --test-dir build --output-on-failure"
82+
$command = "`"$devCmd`" -arch=x64 && cmake -S . -B build -G Ninja -DMICROTIMER_BUILD_TESTS=ON -DCMAKE_C_COMPILER=cl -DCMAKE_C_FLAGS:STRING=`"/W4 /WX`" && cmake --build build && ctest --test-dir build --output-on-failure"
8383
cmd /c $command
8484
8585
install-consumers:

0 commit comments

Comments
 (0)