summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmake/Gn.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/Gn.cmake b/cmake/Gn.cmake
index e8dc956ee..b4adc1bd3 100644
--- a/cmake/Gn.cmake
+++ b/cmake/Gn.cmake
@@ -59,10 +59,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}")