Skip to content

Commit

Permalink
Print the compile output too
Browse files Browse the repository at this point in the history
  • Loading branch information
jyrkive committed Dec 22, 2016
1 parent 66a6e03 commit 6c9ff7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -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.")
Expand Down

0 comments on commit 6c9ff7c

Please sign in to comment.