Skip to content

Commit c58331b

Browse files
committed
Use cmake utils instead of make
1 parent 25c6f01 commit c58331b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deb/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ die () {
1515
mkdir ../build
1616
cd ../build
1717
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .. || die "Failed to configure project"
18-
make -j "$(nproc)" || die "Failed to build project"
19-
make DESTDIR="../deb/package/" install || die "Failed to install project into package directory"
18+
cmake --build . || die "Failed to build project"
19+
cmake --install . --prefix "../deb/package/" || die "Failed to install project into package directory"
2020
)
2121

2222
mkdir -p package/DEBIAN/

0 commit comments

Comments
 (0)