X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=CMakeLists.txt;h=76889d81a2bb259f7488f43cd7f4b1301a5de873;hb=60013b8987abc643a31fecf185d463973e009915;hp=32fc75f2242327832c903be0ed995b4a8745134b;hpb=887c09b182a46886d9b0ba89e2c251164b6e8f0e;p=quassel.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 32fc75f2..76889d81 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -143,8 +143,8 @@ if (USE_QT5) else() # Select a Qt installation here, if you don't want to use system Qt if(QT_PATH) - # FindQt4 will look for the qmake binary in $PATH, so we just prepend the Qt dir - set(ENV{PATH} ${QT}/bin:$ENV{PATH}) + # FindQt4 will look for the qmake binary in $PATH, so we just prepend QT_PATH + set(ENV{PATH} ${QT_PATH}/bin:$ENV{PATH}) endif() # Now that we have the correct $PATH, lets find Qt!