Skip to content

Commit 1d8eeb4

Browse files
authored
Reorder CMake command arguments for clarity
1 parent 80dc997 commit 1d8eeb4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ jobs:
5959
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
6060
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
6161
run: >
62-
cmake -G Ninja -B ${{ steps.strings.outputs.build-output-dir }}
62+
cmake -B ${{ steps.strings.outputs.build-output-dir }}
63+
-G Ninja
6364
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
6465
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
6566
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}

0 commit comments

Comments
 (0)