From: Jan Arve Saether Date: Mon, 24 Sep 2012 10:01:53 +0000 (+0200) Subject: When trying to run cmake, don't show stderr output. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=44a0e972a0fc6787f1d275a457c2bb0a0d10aff8;p=profile%2Fivi%2Fqtbase.git 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 --- diff --git a/mkspecs/features/ctest_testcase.prf b/mkspecs/features/ctest_testcase.prf index 0ae5ba2..471b73e 100644 --- a/mkspecs/features/ctest_testcase.prf +++ b/mkspecs/features/ctest_testcase.prf @@ -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) {