Skip to content

Commit 8b8dd18

Browse files
committed
fix(cmake-multi-platform): Wrap paths with quotes.
Fix for Windows paths.
1 parent bb46c69 commit 8b8dd18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cmake-multi-platform.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,13 @@ jobs:
8181
if [ "${{ matrix.os }}" != "windows-latest" ]; then
8282
BUILD_EXAMPLES="ON"
8383
fi
84-
cmake -B ${{ steps.strings.outputs.build-output-dir }} \
84+
cmake -B "${{ steps.strings.outputs.build-output-dir }}" \
8585
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} \
8686
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }} \
8787
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
8888
-DAGENT_CPP_BUILD_TESTS=ON \
8989
-DAGENT_CPP_BUILD_EXAMPLES=$BUILD_EXAMPLES \
90-
-S ${{ github.workspace }}
90+
-S "${{ github.workspace }}"
9191
9292
- name: Build
9393
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).

0 commit comments

Comments
 (0)