Merge topic 'qt4-windows8'
caa9151
Fix errors detecting Qt4 on Windows 8.
This commit is contained in:
commit
b69cf909b6
|
@ -482,7 +482,7 @@ endmacro ()
|
|||
function(_QT4_QUERY_QMAKE VAR RESULT)
|
||||
execute_process(COMMAND "${QT_QMAKE_EXECUTABLE}" -query ${VAR}
|
||||
RESULT_VARIABLE return_code
|
||||
OUTPUT_VARIABLE output ERROR_VARIABLE output
|
||||
OUTPUT_VARIABLE output
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_STRIP_TRAILING_WHITESPACE)
|
||||
if(NOT return_code)
|
||||
file(TO_CMAKE_PATH "${output}" output)
|
||||
|
|
Loading…
Reference in New Issue