summaryrefslogtreecommitdiff
path: root/lib/Debian
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2018-11-10 19:15:19 +0000
committerNiels Thykier <niels@thykier.net>2018-11-10 19:15:19 +0000
commit2a1594ab698353d2bc36f88dd7af05c167e86de3 (patch)
tree5cea38c3aa1c77dcfa4502c7a21612c728fd8be0 /lib/Debian
parent44a643a97edf3cd5ef7dbc592b9ea1a73bf0af29 (diff)
downloaddebhelper-2a1594ab698353d2bc36f88dd7af05c167e86de3.tar.gz
cmake: Pass QMAKE_EXECUTABLE when cross-building
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'lib/Debian')
-rw-r--r--lib/Debian/Debhelper/Buildsystem/cmake.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Debian/Debhelper/Buildsystem/cmake.pm b/lib/Debian/Debhelper/Buildsystem/cmake.pm
index b2364a59..37f82c6c 100644
--- a/lib/Debian/Debhelper/Buildsystem/cmake.pm
+++ b/lib/Debian/Debhelper/Buildsystem/cmake.pm
@@ -110,6 +110,7 @@ sub configure {
}
push(@flags, "-DPKG_CONFIG_EXECUTABLE=/usr/bin/" . dpkg_architecture_value("DEB_HOST_GNU_TYPE") . "-pkg-config");
push(@flags, "-DPKGCONFIG_EXECUTABLE=/usr/bin/" . dpkg_architecture_value("DEB_HOST_GNU_TYPE") . "-pkg-config");
+ push(@flags, "-DQMAKE_EXECUTABLE=/usr/bin/" . dpkg_architecture_value("DEB_HOST_GNU_TYPE") . "-qmake");
}
push(@flags, "-DCMAKE_INSTALL_LIBDIR=lib/" . dpkg_architecture_value("DEB_HOST_MULTIARCH"));