From 47cac22f765a60b322d45e61129cc68bef8263ad Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 29 Aug 2021 01:28:44 +0200 Subject: debian/rules: Enable unit tests. --- debian/rules | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/debian/rules b/debian/rules index b077472..fcbfa68 100755 --- a/debian/rules +++ b/debian/rules @@ -3,9 +3,18 @@ export DPKG_GENSYMBOLS_CHECK_LEVEL=4 +DEB_CMAKE_EXTRA_FLAGS = \ + -DCMAKE_INSTALL_LOCALSTATEDIR="/var" \ + -DENABLE_TESTS=ON \ + -DENABLE_COVERAGE=OFF \ + $(NULL) + %: dh $@ --parallel +override_dh_auto_configure: + dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS) + override_dh_makeshlibs: dh_makeshlibs -Xlibqmenumodel-qml.so -- cgit v1.2.3