Skip to content

Commit 1f33224

Browse files
Merge pull request #39 from morousg/38-fix-cmake-generation-stages
Fix generation stage with cmake 4.0 and Ninja
2 parents 83573ac + a5eec88 commit 1f33224

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

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

0 commit comments

Comments
 (0)