Skip to content

Commit

Permalink
Merge pull request #2482 from battlesnake/patch-1
Browse files Browse the repository at this point in the history
Fix CMAKE_INSTALL_PREFIX
  • Loading branch information
julianoes authored Jan 26, 2025
2 parents 449a8f1 + a45227c commit ac06a03
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,11 @@ jobs:
sudo apt-get install -y ruby-dev
sudo gem install --no-document fpm
- name: configure
run: cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_MAVSDK_SERVER=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=install -DWERROR=ON -Bbuild/release -H.
run: cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_MAVSDK_SERVER=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr/ -DWERROR=ON -Bbuild/release -H.
- name: build
run: cmake --build build/release --target install -- -j2
run: cmake --build build/release -- -j2
- name: install
run: sudo cmake --build build/release --target install
- name: Package
if: startsWith(github.ref, 'refs/tags/v')
run: tools/create_packages.sh ./install . amd64 libmavsdk-dev
Expand Down

0 comments on commit ac06a03

Please sign in to comment.