Skip to content

Commit

Permalink
Fix typo and split cmake command to multiple lines
Browse files Browse the repository at this point in the history
  • Loading branch information
patrikhuber authored Apr 9, 2023
1 parent 5d8cbeb commit 0c9fef0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
submodules: true

- name: "Set VCPKG_ROOT environmental variable"
- name: "Set VCPKG_ROOT environment variable"
shell: bash
run: |
echo "VCPKG_ROOT=$VCPKG_INSTALLATION_ROOT" >> $GITHUB_ENV
Expand All @@ -38,7 +38,10 @@ jobs:
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE=${{env.VCPKG_ROOT}}/scripts/buildsystems/vcpkg.cmake -DVCPKG_MANIFEST_FEATURES="ceres"
run: >
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
-DCMAKE_TOOLCHAIN_FILE=${{env.VCPKG_ROOT}}/scripts/buildsystems/vcpkg.cmake
-DVCPKG_MANIFEST_FEATURES="ceres"
- name: Build
# Build your program with the given configuration
Expand Down

0 comments on commit 0c9fef0

Please sign in to comment.