Support out of srcdir builds.

This commit is contained in:
sledgehammer999 2014-05-08 00:51:23 +03:00
parent 9714b2ede9
commit e6b2919eb2
2 changed files with 4 additions and 2 deletions

3
configure vendored
View file

@ -6697,8 +6697,9 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: Running qmake to generate the makefile..." >&5
$as_echo "$as_me: Running qmake to generate the makefile..." >&6;}
CONFDIR="$( cd "$( dirname "$0" )" && pwd )"
$QT_QMAKE qbittorrent.pro
$QT_QMAKE $CONFDIR/qbittorrent.pro
ret="$?"

View file

@ -183,8 +183,9 @@ AC_OUTPUT(conf.pri)
AC_MSG_NOTICE([Running qmake to generate the makefile...])
CONFDIR="$( cd "$( dirname "$0" )" && pwd )"
$QT_QMAKE qbittorrent.pro
$QT_QMAKE [$CONFDIR]/qbittorrent.pro
ret="$?"