Skip to content

Commit

Permalink
Use cmake utils instead of make
Browse files Browse the repository at this point in the history
  • Loading branch information
marek22k committed Jan 17, 2024
1 parent 25c6f01 commit 14fc1dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deb/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ die () {
mkdir ../build
cd ../build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .. || die "Failed to configure project"
make -j "$(nproc)" || die "Failed to build project"
make DESTDIR="../deb/package/" install || die "Failed to install project into package directory"
cmake --build .. || die "Failed to build project"
cmake --install .. --prefix "../deb/package/" || die "Failed to install project into package directory"
)

mkdir -p package/DEBIAN/
Expand Down

0 comments on commit 14fc1dd

Please sign in to comment.