From 97b6c7a8b75c35686d85ab089980f7804f2a1500 Mon Sep 17 00:00:00 2001 From: Tiago Quintino Date: Sat, 19 May 2018 17:49:38 +0100 Subject: [PATCH] ECC-688: move endianess tests to eccodes --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 887adc4cf..243894498 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,6 +59,9 @@ check_c_source_compiles( include(eccodes_test_endiness) +ecbuild_debug("ECCODES_BIG_ENDIAN=${ECCODES_BIG_ENDIAN}") +ecbuild_debug("ECCODES_LITTLE_ENDIAN=${ECCODES_LITTLE_ENDIAN}") + ############################################################################### # some variables/options of this project @@ -219,7 +222,7 @@ else() set( GRIB_TIMER 0 ) endif() -set( IS_BIG _ENDIAN 0 ) +set( IS_BIG_ENDIAN 0 ) if( ECCODES_BIG_ENDIAN ) set( IS_BIG_ENDIAN 1 ) endif()