Commit 23c31e11 authored by Emmanuel Thomé's avatar Emmanuel Thomé

typo

parent f0121f6c
# Check if an int can be loaded & written from an odd address # Check if an int can be read from and written to an odd address
message(STATUS "Testing if an int can be loaded from & written at an odd address") message(STATUS "Testing if an int can be read from and written to an odd address")
try_run(odd_address_io_int_runs odd_address_io_int_compiles try_run(odd_address_io_int_runs odd_address_io_int_compiles
${PROJECT_BINARY_DIR}/config ${PROJECT_BINARY_DIR}/config
${PROJECT_SOURCE_DIR}/config/odd_address_io_int.c) ${PROJECT_SOURCE_DIR}/config/odd_address_io_int.c)
if(odd_address_io_int_runs EQUAL 0) if(odd_address_io_int_runs EQUAL 0)
set(ODD_ADDRESS_IO_INT 1) set(ODD_ADDRESS_IO_INT 1)
message(STATUS "Testing if an int can be loaded from & written at an odd address -- Yes") message(STATUS "Testing if an int can be read from and written to an odd address -- Yes")
else(odd_address_io_int_runs EQUAL 0) else(odd_address_io_int_runs EQUAL 0)
set(ODD_ADDRESS_IO_INT 0) set(ODD_ADDRESS_IO_INT 0)
message(STATUS "Testing if an int can be loaded from & written at an odd address -- No") message(STATUS "Testing if an int can be read from and written to an odd address -- No")
endif(odd_address_io_int_runs EQUAL 0) endif(odd_address_io_int_runs EQUAL 0)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment