mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 16:53:17 +00:00
Print the compile output too
This commit is contained in:
parent
66a6e036e3
commit
6c9ff7c4b3
@ -57,7 +57,7 @@ option(ENABLE_HISTORY "Enable using GNU history for history in lua console" ON)
|
||||
|
||||
if(NOT CMAKE_CROSSCOMPILING)
|
||||
try_run(IEEE754_TEST_RETURN_CODE IEEE754_TEST_COMPILED ${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/src/compile_time_tests/ieee_754.cpp
|
||||
RUN_OUTPUT_VARIABLE IEEE754_TEST_OUTPUT)
|
||||
OUTPUT_VARIABLE IEEE754_TEST_OUTPUT)
|
||||
if(NOT IEEE754_TEST_RETURN_CODE EQUAL 0)
|
||||
message(${IEEE754_TEST_OUTPUT})
|
||||
message(FATAL_ERROR "Your platform does not represent floating point numbers in the IEEE 754 format.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user