mirror of https://github.com/ecmwf/eccodes.git
ECC-1355: CMake: Improve the error message when libAEC is not found
This commit is contained in:
parent
5393ea7a56
commit
1fb1394a55
|
@ -116,7 +116,10 @@ ecbuild_add_option( FEATURE NETCDF
|
||||||
|
|
||||||
find_package( AEC )
|
find_package( AEC )
|
||||||
if(NOT DEFINED ENABLE_AEC AND NOT AEC_FOUND)
|
if(NOT DEFINED ENABLE_AEC AND NOT AEC_FOUND)
|
||||||
ecbuild_critical("AEC (Adaptive Entropy Coding) support is highly recommended from ecCodes >= 2.25.0\nTo force the build without it, use -DENABLE_AEC=OFF")
|
ecbuild_critical("AEC library was not found.\n"
|
||||||
|
"AEC (Adaptive Entropy Coding) provides the WMO GRIB CCSDS compression and decompression of data. "
|
||||||
|
"This is highly recommended from ecCodes >= 2.25.0"
|
||||||
|
"\nTo force the build without it, use -DENABLE_AEC=OFF")
|
||||||
endif()
|
endif()
|
||||||
ecbuild_add_option( FEATURE AEC
|
ecbuild_add_option( FEATURE AEC
|
||||||
DESCRIPTION "Support for Adaptive Entropy Coding"
|
DESCRIPTION "Support for Adaptive Entropy Coding"
|
||||||
|
|
Loading…
Reference in New Issue