Fix errors detecting Qt4 on Windows 8.
Thanks to Petr Baloun for the patch.
This commit is contained in:
parent
19d9f5908b
commit
caa9151169
|
@ -482,7 +482,7 @@ endmacro ()
|
||||||
function(_QT4_QUERY_QMAKE VAR RESULT)
|
function(_QT4_QUERY_QMAKE VAR RESULT)
|
||||||
execute_process(COMMAND "${QT_QMAKE_EXECUTABLE}" -query ${VAR}
|
execute_process(COMMAND "${QT_QMAKE_EXECUTABLE}" -query ${VAR}
|
||||||
RESULT_VARIABLE return_code
|
RESULT_VARIABLE return_code
|
||||||
OUTPUT_VARIABLE output ERROR_VARIABLE output
|
OUTPUT_VARIABLE output
|
||||||
OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_STRIP_TRAILING_WHITESPACE)
|
OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_STRIP_TRAILING_WHITESPACE)
|
||||||
if(NOT return_code)
|
if(NOT return_code)
|
||||||
file(TO_CMAKE_PATH "${output}" output)
|
file(TO_CMAKE_PATH "${output}" output)
|
||||||
|
|
Loading…
Reference in New Issue