#!/usr/bin/make -f

export LC_ALL=C.UTF-8

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- \
	    -DCMAKE_BUILD_TYPE=Release \
	    -DCMAKE_INSTALL_PREFIX=/usr \
	    -DINSTALL_LIB_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
	    -DINSTALL_INCLUDE_DIR=/usr/include \
	    -DENABLE_TEST=ON \
	    -DPQMAGIC_TEST_ROUNDS=10 \
	    -DENABLE_BENCH=OFF

override_dh_missing:
	dh_missing || true
