When trying to run cmake, don't show stderr output.

It looks like the qmake process failed if cmake is not installed.

Change-Id: I721796a602d8c572144e9d21be5d62b737698b73
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
bb10
Jan Arve Saether 2012-09-24 12:01:53 +02:00 committed by The Qt Project
parent fd6a870136
commit 44a0e972a0
1 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,10 @@
CMAKE_VERSION = $$system(cmake --version)
win32 {
CMAKE_VERSION = $$system(cmake --version 2>NUL)
} else {
CMAKE_VERSION = $$system(cmake --version 2>/dev/null)
}
check.commands =
isEmpty(CMAKE_VERSION) {