From 49249190f6a06a43201ec51003fa68e21f1cdc7e Mon Sep 17 00:00:00 2001 From: Tiago Quintino Date: Mon, 21 May 2018 12:45:12 +0100 Subject: [PATCH] ECC-688: fix warning of parent scope --- cmake/eccodes_test_endiness.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/eccodes_test_endiness.cmake b/cmake/eccodes_test_endiness.cmake index 8691c5966..634de4227 100644 --- a/cmake/eccodes_test_endiness.cmake +++ b/cmake/eccodes_test_endiness.cmake @@ -16,8 +16,8 @@ else() set( ECCODES_LITTLE_ENDIAN 1 ) endif() -set( ECCODES_BIG_ENDIAN ${ECCODES_BIG_ENDIAN} PARENT_SCOPE ) -set( ECCODES_LITTLE_ENDIAN ${ECCODES_LITTLE_ENDIAN} PARENT_SCOPE ) +set( ECCODES_BIG_ENDIAN ${ECCODES_BIG_ENDIAN} ) +set( ECCODES_LITTLE_ENDIAN ${ECCODES_LITTLE_ENDIAN} ) if( NOT DEFINED IEEE_BE ) check_c_source_runs(