From 02d539f4e15ec86b8ceee3813475477d4ad4a4bb Mon Sep 17 00:00:00 2001 From: Emmanuel Papin Date: Sun, 14 Dec 2014 22:51:04 +0100 Subject: [PATCH] Set some cmake variables in rules file --- distros/debian/rules | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/distros/debian/rules b/distros/debian/rules index d9cedb0..50d77ea 100755 --- a/distros/debian/rules +++ b/distros/debian/rules @@ -31,11 +31,12 @@ TARBALL = ../$(PKG)_$(VER)$(DTYPE).orig.tar.xz %: dh $@ --sourcedirectory=src --with quilt -# debmake generated override targets -# This is example for Cmake (See http://bugs.debian.org/641051 ) -#override_dh_auto_configure: -# dh_auto_configure -- \ -# -DCMAKE_BUILD_TYPE:STRING=Debug +override_dh_auto_configure: + dh_auto_configure -- \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_SYSCONFDIR=/etc \ + -DCMAKE_VERBOSE_MAKEFILE=OFF \ + -DCMAKE_COLOR_MAKEFILE=ON # Inspired by https://wiki.debian.org/onlyjob/get-orig-source .PHONY: get-orig-source