mirror of
https://github.com/reactos/CMake.git
synced 2024-11-23 11:39:48 +00:00
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)
|
||||
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
Block a user