Use ninja for package build

This commit is contained in:
proller 2018-03-27 21:36:50 +03:00
parent d58483b084
commit 9744ddf70f
2 changed files with 3 additions and 0 deletions

1
debian/control vendored
View File

@ -4,6 +4,7 @@ Priority: optional
Maintainer: Alexey Milovidov <milovidov@yandex-team.ru>
Build-Depends: debhelper (>= 9),
cmake3 | cmake,
ninja-build,
gcc-7, g++-7,
libc6-dev,
libmariadbclient-dev | default-libmysqlclient-dev | libmysqlclient-dev,

2
debian/rules vendored
View File

@ -41,6 +41,8 @@ endif
endif
CMAKE_FLAGS += -DCMAKE_CXX_COMPILER=`which $(CXX)` -DCMAKE_C_COMPILER=`which $(CC)`
CMAKE_FLAGS += -GNinja
export MAKE=ninja
ifndef DH_VERBOSE
CMAKE_FLAGS += -DCMAKE_VERBOSE_MAKEFILE=0