mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-05 04:03:22 +03:00
Fix errors detecting Qt4 on Windows 8.
Thanks to Petr Baloun for the patch.
This commit is contained in:
1 parent
19d9f5908b
commit
caa9151169
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user