Make find_linux_utils a windows-only check

This commit is contained in:
Daniel Tipping 2019-01-14 13:22:11 +00:00
parent 2a3fd806da
commit a449455085
1 changed files with 3 additions and 1 deletions

View File

@ -58,7 +58,9 @@ check_c_source_compiles(
" ECCODES_HAVE_C_INLINE )
include(eccodes_test_endiness)
include(eccodes_find_linux_utils)
if( EC_OS_NAME MATCHES "windows" )
include(eccodes_find_linux_utils)
endif()
ecbuild_debug("ECCODES_BIG_ENDIAN=${ECCODES_BIG_ENDIAN}")
ecbuild_debug("ECCODES_LITTLE_ENDIAN=${ECCODES_LITTLE_ENDIAN}")