summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Gn.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/Gn.cmake b/cmake/Gn.cmake
index adeae39fb..ce76d3e4f 100644
--- a/cmake/Gn.cmake
+++ b/cmake/Gn.cmake
@@ -61,10 +61,11 @@ execute_process(
RESULT_VARIABLE gnResult
OUTPUT_VARIABLE gnOutput
ERROR_VARIABLE gnError
+ TIMEOUT 300
)
if(NOT gnResult EQUAL 0)
- message(FATAL_ERROR "\n-- GN FAILED\n${gnOutput}\n${gnError}")
+ message(FATAL_ERROR "\n-- GN FAILED\n${gnOutput}\n${gnError}\n${gnResult}\n")
else()
string(REGEX REPLACE "\n$" "" gnOutput "${gnOutput}")
message("-- GN ${gnOutput}")