From 5f33c84b08ec8ddee94905d3558af642db1491f5 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Tue, 25 Nov 2014 13:11:19 +0000 Subject: [PATCH] Only download CCSDS grib if feature enabled --- data/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 427f1989d..9d6a63363 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -86,9 +86,13 @@ set(files_to_download timeRangeIndicator_5.grib tp_ecmwf.grib v.grib2 - ccsds.grib2 ) +if( HAVE_AEC ) + LIST(APPEND files_to_download ccsds.grib2) +endif() + + foreach( f ${files_to_download} ) set(tgt data_${f}) # Download the file and create a dummy target for it