projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix finding a custom Qt4 via -DQT_PATH
[quassel.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
32fc75f
..
76889d8
100644
(file)
--- 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)
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!
endif()
# Now that we have the correct $PATH, lets find Qt!