Print the compile output too
This commit is contained in:
parent
66a6e036e3
commit
6c9ff7c4b3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue